/PHP-8.4/Zend/ |
H A D | zend_property_hooks.c | 45 ZEND_HASH_MAP_FOREACH_VAL(properties, value) { in zho_find_dynamic_prop_offset() 58 zend_array *properties = zend_new_array(include_dynamic_props && zobj->properties in zho_build_properties_ex() local 59 ? zend_hash_num_elements(zobj->properties) in zho_build_properties_ex() 61 zend_hash_real_init_mixed(properties); in zho_build_properties_ex() 129 return properties; in zho_build_properties_ex() 222 zend_array *properties = Z_OBJ(iter->data)->properties; in zho_dynamic_it_fetch_current() local 225 if (pos >= properties->nNumUsed) { in zho_dynamic_it_fetch_current() 230 Bucket *bucket = properties->arData + pos; in zho_dynamic_it_fetch_current() 317 zend_hash_move_forward(properties); in zho_it_move_forward() 322 zend_array *properties = Z_OBJ(iter->data)->properties; in zho_it_move_forward() local [all …]
|
H A D | zend_objects.c | 37 object->properties = NULL; in _zend_object_std_init() 53 if (object->properties) { in zend_object_dtor_dynamic_properties() 55 if (EXPECTED(GC_DELREF(object->properties) == 0) in zend_object_dtor_dynamic_properties() 57 zend_array_destroy(object->properties); in zend_object_dtor_dynamic_properties() 248 GC_ADDREF(old_object->properties); in zend_objects_clone_members() 250 new_object->properties = old_object->properties; in zend_objects_clone_members() 255 if (old_object->properties && in zend_objects_clone_members() 261 if (!new_object->properties) { in zend_objects_clone_members() 262 new_object->properties = zend_new_array(zend_hash_num_elements(old_object->properties)); in zend_objects_clone_members() 265 …zend_hash_extend(new_object->properties, new_object->properties->nNumUsed + zend_hash_num_elements… in zend_objects_clone_members() [all …]
|
H A D | zend_lazy_objects.c | 213 if (object->properties && HT_ITERATORS_COUNT(object->properties)) { in zlo_is_iterating() 315 if (obj->properties) { in zend_object_make_lazy() 318 GC_DELREF(obj->properties); in zend_object_make_lazy() 320 obj->properties = zend_array_dup(obj->properties); in zend_object_make_lazy() 427 obj->properties = properties_snapshot; in zend_lazy_object_revert_init() 432 } else if (obj->properties) { in zend_lazy_object_revert_init() 434 obj->properties = NULL; in zend_lazy_object_revert_init() 526 obj->properties = NULL; in zend_lazy_object_init_proxy() 689 if (object->properties) { in zend_lazy_object_get_properties() 690 return object->properties; in zend_lazy_object_get_properties() [all …]
|
/PHP-8.4/ext/reflection/tests/ |
H A D | bug38132.phpt | 11 $properties = $class->getStaticProperties(); 12 var_dump($properties, array_keys($properties)); 13 var_dump(isset($properties['*bar'])); 14 var_dump(isset($properties["\0*\0bar"])); 15 var_dump(isset($properties["bar"]));
|
H A D | ReflectionClass_getProperties_003.phpt | 27 echo "No properties:"; 30 echo "Public properties:"; 33 echo "Private properties:"; 36 echo "Public or static properties:"; 39 echo "Private or static properties:"; 42 echo "Virtual properties:"; 46 No properties:array(0) { 48 Public properties:array(6) { 92 Private properties:array(4) { 122 Public or static properties:array(8) { [all …]
|
H A D | ReflectionProperty_isInitialized.phpt | 20 echo "Static properties:\n"; 25 echo "Declared properties:\n"; 31 echo "Declared properties after unset:\n"; 39 echo "Dynamic properties:\n"; 92 Static properties: 96 Declared properties: 100 Declared properties after unset: 104 Dynamic properties: 113 ReflectionProperty::isInitialized(): Argument #1 ($object) must be provided for instance properties
|
H A D | ReflectionObject___toString_basic1.phpt | 2 ReflectionObject::__toString() : very basic test with no dynamic properties 21 - Static properties [0] { 31 - Dynamic properties [0] {
|
H A D | ReflectionObject___toString_basic2.phpt | 2 ReflectionObject::__toString() : very basic test with dynamic properties 23 - Static properties [0] { 33 - Dynamic properties [2] {
|
H A D | 024.phpt | 2 ReflectionObject::__toString (filtering privates/protected dynamic properties) 26 - Static properties [0] { 38 - Dynamic properties [1] {
|
H A D | ReflectionClass_toString_003.phpt | 35 - Static properties [0] { 59 - Static properties [0] { 83 - Static properties [0] { 104 - Static properties [0] {
|
/PHP-8.4/ext/spl/tests/ArrayObject/ |
H A D | property_hooks.phpt | 41 echo 'Check object properties directly', PHP_EOL; 46 echo 'Check object properties via ArrayObject index', PHP_EOL; 52 echo 'Write to object properties via ArrayObject index', PHP_EOL; 58 echo 'Check object properties directly', PHP_EOL; 66 Check object properties directly 70 Check object properties via ArrayObject index 79 Write to object properties via ArrayObject index 80 Check object properties directly
|
/PHP-8.4/tests/classes/ |
H A D | static_properties_004.phpt | 2 Inherited static properties cannot be separated from their reference set. 9 echo "\nInherited static properties refer to the same value across classes:\n"; 16 echo "\nReferences cannot be used to split the properties:\n"; 22 Inherited static properties refer to the same value across classes: 32 References cannot be used to split the properties:
|
H A D | constants_basic_004.phpt | 2 Test properties with array default values using class constants as keys and values. 32 // Should also include inherited properties from B. 35 echo "\nStatic properties:\n"; 38 echo "\nInstance properties:\n"; 45 Static properties: 67 Instance properties:
|
H A D | interface_member.phpt | 2 ZE2 An interface cannot have properties 11 Fatal error: Interfaces may only include hooked properties in %s on line %d
|
/PHP-8.4/Zend/tests/ |
H A D | bug73998.phpt | 11 $properties = get_object_vars($a); 12 var_dump(array_key_exists(1234, $properties)); 13 echo "Value: {$properties[1234]}\n";
|
H A D | errmsg_037.phpt | 2 errmsg: properties cannot be abstract 13 Fatal error: Only hooked properties may be declared abstract in %s on line %d
|
H A D | foreach_018.phpt | 2 Foreach on stdClass with properties looking like mangled properties
|
/PHP-8.4/ext/spl/tests/ |
H A D | gh10907.phpt | 5 echo "Test without rebuilding properties\n"; 15 echo "Test with rebuilding properties\n"; 19 var_dump($array); // Rebuilds properties 26 echo "Test with partially rebuilding properties\n"; 29 var_dump($array); // Rebuilds properties 51 Test without rebuilding properties 66 Test with rebuilding properties 87 Test with partially rebuilding properties
|
H A D | SplFixedArray_immediate_gc.phpt | 17 // As of php 8.3, this only contain object properties (dynamic properties and declared subclass pro…
|
/PHP-8.4/Zend/tests/prop_const_expr/ |
H A D | non_enums_rhs.phpt | 2 Error when fetching properties on non-enums in constant expressions is catchable 25 Fetching properties on non-enums in constant expressions is not allowed 26 Fetching properties on non-enums in constant expressions is not allowed
|
/PHP-8.4/Zend/tests/enum/ |
H A D | no-properties.phpt | 2 Enum disallows properties 12 Fatal error: Enum Foo cannot include properties in %s on line %d
|
H A D | no-static-properties.phpt | 2 Enum disallows static properties 12 Fatal error: Enum Foo cannot include properties in %s on line %d
|
/PHP-8.4/tests/lang/ |
H A D | foreachLoopObjects.005.phpt | 2 Foreach loop tests - removing properties before and after the current property during the loop. 14 echo "\nRemoving properties before the current element from an iterated object.\n"; 29 echo "\nRemoving properties before the current element from an iterated object.\n"; 46 Removing properties before the current element from an iterated object. 62 Removing properties before the current element from an iterated object.
|
/PHP-8.4/ext/phar/tests/zip/ |
H A D | bug48791.phpt | 12 …properties style:font-name="Arial"/></style:style><text:list-style style:name="L1"><text:list-leve…
|
/PHP-8.4/Zend/tests/property_hooks/ |
H A D | readonly.phpt | 2 Hooked properties cannot be readonly 12 Fatal error: Hooked properties cannot be readonly in %s on line %d
|