/PHP-5.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 | 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) {
|
H A D | ReflectionObject_export_basic1.phpt | 2 ReflectionObject::export() : very basic test with no dynamic properties 21 - Static properties [0] { 31 - Dynamic properties [0] {
|
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 22 - Static properties [0] { 32 - Dynamic properties [2] {
|
H A D | ReflectionObject_export_basic2.phpt | 2 ReflectionObject::export() : very basic test with dynamic properties 22 - Static properties [0] { 32 - Dynamic properties [2] {
|
H A D | 024.phpt | 2 ReflectionObject::__toString (filtering privates/protected dynamic properties) 27 - Static properties [0] { 39 - Dynamic properties [1] {
|
H A D | ReflectionClass_toString_003.phpt | 37 - Static properties [0] { 61 - Static properties [0] { 85 - Static properties [0] { 106 - Static properties [0] {
|
H A D | ReflectionClass_toString_002.phpt | 37 - Static properties [0] { 61 - Static properties [0] { 85 - Static properties [0] { 109 - Static properties [0] {
|
H A D | static_properties_002.phpt | 2 Reflection and inheriting static properties 46 echo 'Number of properties: '. count($r->getStaticProperties()) . "\n"; 59 Number of properties: 1
|
H A D | ReflectionClass_getDefaultProperties_001.phpt | 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 ----
|
H A D | traits002.phpt | 24 - Static properties [0] { 43 - Static properties [0] {
|
H A D | ReflectionObject_export_basic3.phpt | 23 - Static properties [0] { 32 - Dynamic properties [0] {
|
H A D | ReflectionClass_export_basic2.phpt | 22 - Static properties [1] { 43 - Static properties [0] {
|
/PHP-5.4/Zend/ |
H A D | zend_objects.c | 32 object->properties = NULL; in zend_object_std_init() 43 if (object->properties) { in zend_object_std_dtor() 44 zend_hash_destroy(object->properties); in zend_object_std_dtor() 45 FREE_HASHTABLE(object->properties); in zend_object_std_dtor() 147 (*object)->properties = NULL; in zend_objects_new() 170 if (!new_object->properties) { in zend_objects_clone_members() 175 if (!old_object->properties) { in zend_objects_clone_members() 183 if (old_object->properties) { in zend_objects_clone_members() 184 if (!new_object->properties) { in zend_objects_clone_members() 185 ALLOC_HASHTABLE(new_object->properties); in zend_objects_clone_members() [all …]
|
H A D | zend_object_handlers.c | 68 if (!zobj->properties) { in rebuild_object_properties() 109 if (!zobj->properties) { in zend_std_get_properties() 112 return zobj->properties; in zend_std_get_properties() 125 if (zobj->properties) { in zend_std_get_gc() 128 return zobj->properties; in zend_std_get_gc() 453 (zobj->properties ? in zend_std_read_property() 546 (zobj->properties ? in zend_std_write_property() 810 !zobj->properties && in zend_std_unset_property() 1349 if (!zobj1->properties && !zobj2->properties) { in zend_std_compare_objects() 1386 if (!zobj1->properties) { in zend_std_compare_objects() [all …]
|
/PHP-5.4/tests/classes/ |
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"; 46 Static properties: 68 Instance properties:
|
/PHP-5.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"; 47 Removing properties before the current element from an iterated object. 63 Removing properties before the current element from an iterated object.
|
/PHP-5.4/ext/phar/tests/zip/ |
H A D | bug48791.phpt | 14 …properties style:font-name="Arial"/></style:style><text:list-style style:name="L1"><text:list-leve…
|
/PHP-5.4/ext/date/tests/ |
H A D | DateTimeZone_clone_basic3.phpt | 13 echo "\n-- Add some properties --\n"; 20 echo "\n-- Add some more properties --\n"; 36 -- Add some properties -- 52 -- Add some more properties --
|
H A D | DateTime_clone_basic3.phpt | 13 echo "\n-- Add some properties --\n"; 20 echo "\n-- Add some more properties --\n"; 42 -- Add some properties -- 70 -- Add some more properties --
|
/PHP-5.4/Zend/tests/ |
H A D | closure_022.phpt | 2 Closure 022: Closure properties 11 Catchable fatal error: Closure object cannot have properties in %sclosure_022.php on line 5
|
H A D | closure_031.phpt | 2 Closure 031: Closure properties with custom error handlers 14 Error: Closure object cannot have properties
|
H A D | bug50146.phpt | 2 Bug #50146 (property_exists: Closure object cannot have properties) 20 Catchable fatal error: Closure object cannot have properties in %s on line %d
|
/PHP-5.4/ext/mysqli/tests/ |
H A D | reflection_tools.inc | 31 if ($properties = $class->getProperties()) { 33 foreach ($properties as $prop) 41 if ($properties = $class->getDefaultProperties()) { 42 ksort($properties, SORT_STRING); 43 foreach ($properties as $name => $v) 47 if ($properties = $class->getStaticProperties()) { 48 ksort($properties, SORT_STRING); 49 foreach ($properties as $name => $v)
|