Searched refs:properties (Results 1 – 25 of 395) sorted by relevance
12345678910>>...16
34 object->properties = NULL; in _zend_object_std_init()54 if (object->properties) { in zend_object_std_dtor()56 if (EXPECTED(GC_DELREF(object->properties) == 0) in zend_object_std_dtor()58 zend_array_destroy(object->properties); in zend_object_std_dtor()218 GC_ADDREF(old_object->properties); in zend_objects_clone_members()220 new_object->properties = old_object->properties; in zend_objects_clone_members()225 if (old_object->properties && in zend_objects_clone_members()231 if (!new_object->properties) { in zend_objects_clone_members()232 new_object->properties = zend_new_array(zend_hash_num_elements(old_object->properties)); in zend_objects_clone_members()235 …zend_hash_extend(new_object->properties, new_object->properties->nNumUsed + zend_hash_num_elements… in zend_objects_clone_members()[all …]
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"]));
24 echo "No properties:";27 echo "Public properties:";30 echo "Private properties:";33 echo "Public or static properties:";36 echo "Private or static properties:";40 No properties:array(0) {42 Public properties:array(4) {72 Private properties:array(4) {102 Public or static properties:array(6) {146 Private or static properties:array(6) {
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
2 ReflectionObject::__toString() : very basic test with no dynamic properties21 - Static properties [0] {31 - Dynamic properties [0] {
2 ReflectionObject::__toString() : very basic test with dynamic properties23 - Static properties [0] {33 - Dynamic properties [2] {
2 ReflectionObject::__toString (filtering privates/protected dynamic properties)26 - Static properties [0] {38 - Dynamic properties [1] {
35 - Static properties [0] {59 - Static properties [0] {83 - Static properties [0] {104 - Static properties [0] {
35 - Static properties [0] {59 - Static properties [0] {83 - Static properties [0] {107 - Static properties [0] {
2 Reflection and inheriting static properties46 echo 'Number of properties: '. count($r->getStaticProperties()) . "\n";59 Number of properties: 1
69 echo "\n\n---- Static properties in $class ----\n";71 echo "\n\n---- Default properties in $class ----\n";77 ---- Static properties in A ----89 ---- Default properties in A ----107 ---- Static properties in B ----121 ---- Default properties in B ----143 ---- Static properties in C ----156 ---- Default properties in C ----176 ---- Static properties in X ----185 ---- Default properties in X ----
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:
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:
2 ZE2 An interface cannot have properties11 Fatal error: Interfaces may not include properties in %s on line %d
11 $properties = get_object_vars($a);12 var_dump(array_key_exists(1234, $properties));13 echo "Value: {$properties[1234]}\n";
2 Foreach on stdClass with properties looking like mangled properties
7 public static function __set_state(int $properties) {}12 Fatal error: Foo::__set_state(): Parameter #1 ($properties) must be of type array when declared in …
5 echo "Test without rebuilding properties\n";15 echo "Test with rebuilding properties\n";19 var_dump($array); // Rebuilds properties26 echo "Test with partially rebuilding properties\n";29 var_dump($array); // Rebuilds properties51 Test without rebuilding properties66 Test with rebuilding properties87 Test with partially rebuilding properties
2 Error when fetching properties on non-enums in constant expressions is catchable25 Fetching properties on non-enums in constant expressions is not allowed26 Fetching properties on non-enums in constant expressions is not allowed
2 Enum disallows properties12 Fatal error: Enum Foo cannot include properties in %s on line %d
2 Enum disallows static properties12 Fatal error: Enum Foo cannot include properties in %s on line %d
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.
12 …properties style:font-name="Arial"/></style:style><text:list-style style:name="L1"><text:list-leve…
2 Static type is not allowed in properties6 // Testing ?static here, to avoid ambiguity with static properties.
7 function render($properties) {8 foreach ($properties as $key => $value) {
Completed in 25 milliseconds