/PHP-7.4/ext/reflection/tests/ |
H A D | bug40431.phpt | 11 $props = $RefObj->getProperties(); 13 var_dump($props); 14 var_dump($props[0]->isStatic()); 15 var_dump($props[0]->isPrivate()); 16 var_dump($props[0]->isPublic()); 33 var_dump($props); 34 var_dump($props[0]->isStatic()); 36 var_dump($props[0]->isPublic()); 50 var_dump($props); 51 var_dump($props[0]->isStatic()); [all …]
|
H A D | ReflectionParameter_isDefault.phpt | 12 $props = $ro->getProperties(); 13 $prop1 = $props[0]; 15 $prop2 = $props[1];
|
H A D | 012.phpt | 9 $props = $class->getDefaultProperties(); 10 echo $props["test"];
|
H A D | bug36308.phpt | 18 $props = $reflect->getProperties(); 19 echo $props[0]->getDocComment();
|
H A D | 001.phpt | 73 $props = array_keys(get_class_vars('ReflectionClassEx')); 74 sort($props); 75 var_dump($props);
|
H A D | property_exists.phpt | 20 static function test($oc, $props) 23 foreach($props as $p2) { 34 static function test($oc, $props) 37 foreach($props as $p2) { 48 static function test($oc, $props) 51 foreach($props as $p2) {
|
H A D | ReflectionClass_export_basic2.phpt | 2 ReflectionClass::__toString() - ensure inherited private props are hidden.
|
H A D | ReflectionProperty_constructor_variation1.phpt | 2 ReflectionProperty::__construct(): ensure inherited private props can't be accessed through Reflect…
|
/PHP-7.4/ext/spl/tests/ |
H A D | bug73209.phpt | 7 public $props = array(); 9 $this->props = ['hello' => 5, 'props' => ['keyme' => ['test' => 5]]]; 15 echo "Expect to see all keys in ->props here: \n"; 23 Expect to see all keys in ->props here: 24 props 26 props
|
/PHP-7.4/Zend/tests/ |
H A D | bug72813.phpt | 7 private $props = ['a' => 'text', 'b' => 1]; 11 return $this->props[$prop]; 17 $this->props[$prop] = $value; 22 return [$this->props];
|
H A D | bug28444.phpt | 22 public $props = array(); 33 return $this->props[$prop]; 39 $this->props[$prop] = $val;
|
H A D | bug80037.phpt | 10 public static function fromArray(array $props): self 13 foreach ($props as $k => &$v) {
|
H A D | bug78868.phpt | 27 $props = $classA->getProperties(); 28 $props[0]->setValue(2); //causes constant resolving, which runs autoload, all with EG(fake_scope) =…
|
H A D | assign_coalesce_001.phpt | 65 echo "\nStatic props:\n"; 120 Static props:
|
/PHP-7.4/Zend/tests/type_declarations/ |
H A D | typed_properties_024.phpt | 2 Test typed properties ignore private props during inheritance
|
H A D | typed_properties_018.phpt | 2 Test typed properties type applies to all props in group
|
/PHP-7.4/ext/date/tests/ |
H A D | date_interval_prop_dim.phpt | 2 Test DateInterval props with dimension handling
|
/PHP-7.4/ext/standard/ |
H A D | var.c | 788 …HashTable *ht, HashTable *props, zend_string *name, zend_string *error_name, zval *struc) /* {{{ */ in php_var_serialize_try_add_sleep_prop() argument 790 zval *val = zend_hash_find(props, name); in php_var_serialize_try_add_sleep_prop() 821 HashTable *props = zend_get_properties_for(struc, ZEND_PROP_PURPOSE_SERIALIZE); in php_var_serialize_get_sleep_props() local 838 if (php_var_serialize_try_add_sleep_prop(ht, props, name, name, struc) == SUCCESS) { in php_var_serialize_get_sleep_props() 852 if (php_var_serialize_try_add_sleep_prop(ht, props, priv_name, name, struc) == SUCCESS) { in php_var_serialize_get_sleep_props() 867 if (php_var_serialize_try_add_sleep_prop(ht, props, prot_name, name, struc) == SUCCESS) { in php_var_serialize_get_sleep_props() 886 zend_release_properties(props); in php_var_serialize_get_sleep_props() 942 HashTable props; in php_var_serialize_class() local 943 if (php_var_serialize_get_sleep_props(&props, struc, HASH_OF(retval_ptr)) == SUCCESS) { in php_var_serialize_class() 946 buf, struc, &props, zend_hash_num_elements(&props), /* incomplete_class */ 0, var_hash); in php_var_serialize_class() [all …]
|
/PHP-7.4/ext/date/ |
H A D | php_date.c | 2297 HashTable *props; in date_object_get_properties_for() local 2315 return props; in date_object_get_properties_for() 2350 return props; in date_object_get_properties_for() 2447 HashTable *props; in date_object_get_properties_for_timezone() local 2465 return props; in date_object_get_properties_for_timezone() 2474 return props; in date_object_get_properties_for_timezone() 2533 HashTable *props; in date_object_get_properties_interval() local 2540 return props; in date_object_get_properties_interval() 2570 return props; in date_object_get_properties_interval() 5239 return props; in date_object_get_properties_period() [all …]
|
/PHP-7.4/ext/spl/ |
H A D | spl_observer.c | 286 HashTable *props; in spl_object_storage_debug_info() local 292 props = Z_OBJPROP_P(obj); in spl_object_storage_debug_info() 294 debug_info = zend_new_array(zend_hash_num_elements(props) + 1); in spl_object_storage_debug_info() 295 zend_hash_copy(debug_info, props, (copy_ctor_func_t)zval_add_ref); in spl_object_storage_debug_info()
|
/PHP-7.4/ext/mysqli/ |
H A D | mysqli.c | 434 HashTable *retval, *props = obj->prop_handler; in mysqli_object_get_debug_info() local 437 retval = zend_new_array(zend_hash_num_elements(props) + 1); in mysqli_object_get_debug_info() 439 ZEND_HASH_FOREACH_PTR(props, entry) { in mysqli_object_get_debug_info()
|
/PHP-7.4/ext/pdo/ |
H A D | pdo_stmt.c | 2563 HashTable *props; in row_get_properties_for() local 2573 props = zend_array_dup(stmt->std.properties); in row_get_properties_for() 2578 zend_hash_update(props, stmt->columns[i].name, &val); in row_get_properties_for() 2580 return props; in row_get_properties_for()
|
/PHP-7.4/ext/zip/ |
H A D | php_zip.c | 1006 HashTable *props; in php_zip_get_properties() local 1011 props = zend_std_get_properties(object); in php_zip_get_properties() 1023 zend_hash_update(props, key, ret); in php_zip_get_properties() 1026 return props; in php_zip_get_properties()
|
/PHP-7.4/ext/snmp/ |
H A D | snmp.c | 2045 HashTable *props; in php_snmp_get_properties() local 2050 props = zend_std_get_properties(object); in php_snmp_get_properties() 2056 zend_hash_update(props, key, &rv); in php_snmp_get_properties()
|
/PHP-7.4/ext/ldap/ |
H A D | ldap.c | 1351 char *props = NULL; in PHP_FUNCTION() local 1355 …realm_len, &sasl_authc_id, &authc_id_len, &sasl_authz_id, &authz_id_len, &props, &props_len) != SU… in PHP_FUNCTION() 1365 if (props) { in PHP_FUNCTION() 1366 ldap_set_option(ld->link, LDAP_OPT_X_SASL_SECPROPS, props); in PHP_FUNCTION() 4471 ZEND_ARG_INFO(0, props)
|