Home
last modified time | relevance | path

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

12

/php-src/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());
34 var_dump($props);
35 var_dump($props[0]->isStatic());
36 var_dump($props[0]->isPrivate());
37 var_dump($props[0]->isPublic());
52 var_dump($props);
[all …]
H A DReflectionParameter_isDefault.phpt13 $props = $ro->getProperties();
14 $prop1 = $props[0];
16 $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.phpt21 static function test($oc, $props)
24 foreach($props as $p2) {
35 static function test($oc, $props)
38 foreach($props as $p2) {
49 static function test($oc, $props)
52 foreach($props as $p2) {
H A DReflectionClass_export_basic2.phpt2 ReflectionClass::__toString() - ensure inherited private props are hidden.
/php-src/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-src/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(null, 2); //causes constant resolving, which runs autoload, all with EG(fake_sc…
H A Dgh16725.phpt2 GH-16725: Incorrect access check for non-hooked props in hooked object iterator
H A Dassign_coalesce_001.phpt65 echo "\nStatic props:\n";
120 Static props:
/php-src/ext/opcache/tests/jit/
H A Dqm_assign_004.phpt11 function getPropertyScopes($props, $flags): array
14 foreach ($props as $prop) {
/php-src/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-src/Zend/tests/asymmetric_visibility/
H A Dstatic_props.phpt2 Asymmetric visibility on static props
/php-src/ext/date/tests/
H A Ddate_interval_prop_dim.phpt2 Test DateInterval props with dimension handling
/php-src/Zend/tests/property_hooks/
H A Dgh16185_002.phpt2 GH-16185: Hooked object iterator with readonly props
/php-src/ext/tidy/tests/
H A Dgh12980.phpt2 GH-12980 (tidynode.props.attribute is missing "Boolean Attributes" and empty attributes)
/php-src/Zend/tests/lazy_objects/
H A Dserialize_dynamic_props.phpt2 Lazy objects: serialize() with dynamic props on initialized object
H A Djson_encode_dynamic_props.phpt2 Lazy objects: json_encode with dynamic props on initialized object
H A Dinit_sets_prop_default_values.phpt2 Lazy objects: props are initialized to default values before calling initializer
/php-src/ext/standard/
H A Dvar.c870 …HashTable *ht, HashTable *props, zend_string *name, zend_string *error_name, zval *struc) /* {{{ */ in php_var_serialize_try_add_sleep_prop() argument
872 zval *val = zend_hash_find(props, name); in php_var_serialize_try_add_sleep_prop()
903 HashTable *props = zend_get_properties_for(struc, ZEND_PROP_PURPOSE_SERIALIZE); in php_var_serialize_get_sleep_props() local
921 if (php_var_serialize_try_add_sleep_prop(ht, props, name, name, struc) == SUCCESS) { in php_var_serialize_get_sleep_props()
935 if (php_var_serialize_try_add_sleep_prop(ht, props, priv_name, name, struc) == SUCCESS) { in php_var_serialize_get_sleep_props()
950 if (php_var_serialize_try_add_sleep_prop(ht, props, prot_name, name, struc) == SUCCESS) { in php_var_serialize_get_sleep_props()
968 zend_release_properties(props); in php_var_serialize_get_sleep_props()
1025 HashTable props; in php_var_serialize_class() local
1027 if (php_var_serialize_get_sleep_props(&props, struc, ht) == SUCCESS) { in php_var_serialize_class()
1030 …buf, struc, &props, zend_hash_num_elements(&props), /* incomplete_class */ 0, var_hash, GC_REFCOUN… in php_var_serialize_class()
[all …]

Completed in 24 milliseconds

12