Home
last modified time | relevance | path

Searched refs:props (Results 1 – 25 of 31) sorted by relevance

12

/PHP-8.1/ext/reflection/tests/
H A Dbug40431.phpt11 $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 DReflectionParameter_isDefault.phpt12 $props = $ro->getProperties();
13 $prop1 = $props[0];
15 $prop2 = $props[1];
H A D012.phpt9 $props = $class->getDefaultProperties();
10 echo $props["test"];
H A Dbug36308.phpt18 $props = $reflect->getProperties();
19 echo $props[0]->getDocComment();
H A D001.phpt72 $props = array_keys(get_class_vars('ReflectionClassEx'));
73 sort($props);
74 var_dump($props);
H A Dproperty_exists.phpt20 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 DReflectionClass_export_basic2.phpt2 ReflectionClass::__toString() - ensure inherited private props are hidden.
H A DReflectionProperty_constructor_variation1.phpt2 ReflectionProperty::__construct(): ensure inherited private props can't be accessed through Reflect…
/PHP-8.1/ext/spl/tests/
H A Dbug73209.phpt7 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-8.1/Zend/tests/
H A Dbug72813.phpt7 private $props = ['a' => 'text', 'b' => 1];
11 return $this->props[$prop];
17 $this->props[$prop] = $value;
22 return [$this->props];
H A Dbug28444.phpt22 public $props = array();
33 return $this->props[$prop];
39 $this->props[$prop] = $val;
H A Dbug80037.phpt10 public static function fromArray(array $props): self
13 foreach ($props as $k => &$v) {
H A Dbug78868.phpt27 $props = $classA->getProperties();
28 $props[0]->setValue(2); //causes constant resolving, which runs autoload, all with EG(fake_scope) =…
H A Dassign_coalesce_001.phpt65 echo "\nStatic props:\n";
120 Static props:
/PHP-8.1/Zend/tests/type_declarations/
H A Dtyped_properties_024.phpt2 Test typed properties ignore private props during inheritance
H A Dtyped_properties_018.phpt2 Test typed properties type applies to all props in group
/PHP-8.1/ext/date/tests/
H A Ddate_interval_prop_dim.phpt2 Test DateInterval props with dimension handling
/PHP-8.1/ext/standard/
H A Dvar.c828 …HashTable *ht, HashTable *props, zend_string *name, zend_string *error_name, zval *struc) /* {{{ */ in php_var_serialize_try_add_sleep_prop() argument
830 zval *val = zend_hash_find(props, name); in php_var_serialize_try_add_sleep_prop()
861 HashTable *props = zend_get_properties_for(struc, ZEND_PROP_PURPOSE_SERIALIZE); in php_var_serialize_get_sleep_props() local
879 if (php_var_serialize_try_add_sleep_prop(ht, props, name, name, struc) == SUCCESS) { in php_var_serialize_get_sleep_props()
893 if (php_var_serialize_try_add_sleep_prop(ht, props, priv_name, name, struc) == SUCCESS) { in php_var_serialize_get_sleep_props()
908 if (php_var_serialize_try_add_sleep_prop(ht, props, prot_name, name, struc) == SUCCESS) { in php_var_serialize_get_sleep_props()
926 zend_release_properties(props); in php_var_serialize_get_sleep_props()
983 HashTable props; in php_var_serialize_class() local
985 if (php_var_serialize_get_sleep_props(&props, struc, ht) == SUCCESS) { in php_var_serialize_class()
988 …buf, struc, &props, zend_hash_num_elements(&props), /* incomplete_class */ 0, var_hash, GC_REFCOUN… in php_var_serialize_class()
[all …]
/PHP-8.1/ext/soap/tests/bugs/
H A Dsegfault_assertion_props.phpt2 Segfault and assertion failure with refcounted props and arrays
/PHP-8.1/ext/date/
H A Dphp_date.c1827 HashTable *props; in date_object_get_properties_for() local
1845 return props; in date_object_get_properties_for()
1880 return props; in date_object_get_properties_for()
1991 HashTable *props; in date_object_get_properties_for_timezone() local
2009 return props; in date_object_get_properties_for_timezone()
2018 return props; in date_object_get_properties_for_timezone()
2077 HashTable *props; in date_object_get_properties_interval() local
2084 return props; in date_object_get_properties_interval()
2114 return props; in date_object_get_properties_interval()
4856 return props; in date_object_get_properties_period()
[all …]
/PHP-8.1/ext/gmp/
H A Dgmp.c305 HashTable *ht, *props = zend_std_get_properties(obj); in gmp_get_debug_info() local
310 ht = zend_array_dup(props); in gmp_get_debug_info()
2042 HashTable *props = Z_OBJ_P(ZEND_THIS)->properties; in ZEND_METHOD() local
2043 if (props && zend_hash_num_elements(props) != 0) { in ZEND_METHOD()
2065 zval *props = zend_hash_index_find(data, 1); in ZEND_METHOD() local
2066 if (props) { in ZEND_METHOD()
2067 if (Z_TYPE_P(props) != IS_ARRAY) { in ZEND_METHOD()
2072 object_properties_load(Z_OBJ_P(ZEND_THIS), Z_ARRVAL_P(props)); in ZEND_METHOD()
/PHP-8.1/ext/spl/
H A Dspl_observer.c248 HashTable *props; in spl_object_storage_debug_info() local
253 props = obj->handlers->get_properties(obj); in spl_object_storage_debug_info()
255 debug_info = zend_new_array(zend_hash_num_elements(props) + 1); in spl_object_storage_debug_info()
256 zend_hash_copy(debug_info, props, (copy_ctor_func_t)zval_add_ref); in spl_object_storage_debug_info()
/PHP-8.1/ext/ldap/
H A Dldap.stub.php51 … $realm = null, ?string $authc_id = null, ?string $authz_id = null, ?string $props = null): bool {} argument
/PHP-8.1/ext/mysqli/
H A Dmysqli.c396 HashTable *retval, *props = obj->prop_handler; in mysqli_object_get_debug_info() local
399 retval = zend_new_array(zend_hash_num_elements(props) + 1); in mysqli_object_get_debug_info()
401 ZEND_HASH_FOREACH_PTR(props, entry) { in mysqli_object_get_debug_info()
/PHP-8.1/ext/pdo/
H A Dpdo_stmt.c2423 HashTable *props; in row_get_properties_for() local
2434 props = zend_array_dup(stmt->std.properties); in row_get_properties_for()
2443 zend_hash_update(props, stmt->columns[i].name, &val); in row_get_properties_for()
2445 return props; in row_get_properties_for()

Completed in 89 milliseconds

12