Home
last modified time | relevance | path

Searched refs:props (Results 1 – 25 of 32) sorted by path

12

/php-src/Zend/tests/
H A Dassign_coalesce_001.phpt65 echo "\nStatic props:\n";
120 Static props:
H A Dbug28444.phpt22 public $props = array();
33 return $this->props[$prop];
39 $this->props[$prop] = $val;
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 Dbug78868.phpt27 $props = $classA->getProperties();
28 $props[0]->setValue(null, 2); //causes constant resolving, which runs autoload, all with EG(fake_sc…
H A Dbug80037.phpt10 public static function fromArray(array $props): self
13 foreach ($props as $k => &$v) {
/php-src/Zend/tests/type_declarations/
H A Dtyped_properties_018.phpt2 Test typed properties type applies to all props in group
H A Dtyped_properties_024.phpt2 Test typed properties ignore private props during inheritance
/php-src/build/
H A Dgen_stub.php4690 foreach ($classStmt->props as $property) {
/php-src/ext/date/
H A Dphp_date.c1966 HashTable *props; in date_object_get_properties_for() local
1983 return props; in date_object_get_properties_for()
1988 return props; in date_object_get_properties_for()
2109 HashTable *props; in date_object_get_properties_for_timezone() local
2126 return props; in date_object_get_properties_for_timezone()
2131 return props; in date_object_get_properties_for_timezone()
2136 HashTable *ht, *props; in date_object_get_debug_info_timezone() local
2144 ht = zend_array_dup(props); in date_object_get_debug_info_timezone()
2232 HashTable *props; in date_object_get_properties_interval() local
2238 return props; in date_object_get_properties_interval()
[all …]
/php-src/ext/date/tests/
H A Ddate_interval_prop_dim.phpt2 Test DateInterval props with dimension handling
/php-src/ext/gmp/
H A Dgmp.c310 HashTable *ht, *props = zend_std_get_properties(obj); in gmp_get_debug_info() local
315 ht = zend_array_dup(props); in gmp_get_debug_info()
2090 HashTable *props = Z_OBJ_P(ZEND_THIS)->properties; in ZEND_METHOD() local
2091 if (props && zend_hash_num_elements(props) != 0) { in ZEND_METHOD()
2113 zval *props = zend_hash_index_find(data, 1); in ZEND_METHOD() local
2114 if (props) { in ZEND_METHOD()
2115 if (Z_TYPE_P(props) != IS_ARRAY) { in ZEND_METHOD()
2120 object_properties_load(Z_OBJ_P(ZEND_THIS), Z_ARRVAL_P(props)); in ZEND_METHOD()
/php-src/ext/ldap/
H A Dldap.c1342 char *props = NULL; in PHP_FUNCTION() local
1346 …realm_len, &sasl_authc_id, &authc_id_len, &sasl_authz_id, &authz_id_len, &props, &props_len) != SU… in PHP_FUNCTION()
1355 if (props) { in PHP_FUNCTION()
1356 ldap_set_option(ld->link, LDAP_OPT_X_SASL_SECPROPS, props); in PHP_FUNCTION()
H A Dldap_arginfo.h58 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, props, IS_STRING, 1, "null")
/php-src/ext/mysqli/
H A Dmysqli.c347 HashTable *retval, *props = obj->prop_handler; in mysqli_object_get_debug_info() local
350 retval = zend_new_array(zend_hash_num_elements(props) + 1); in mysqli_object_get_debug_info()
352 ZEND_HASH_MAP_FOREACH_PTR(props, entry) { in mysqli_object_get_debug_info()
/php-src/ext/opcache/tests/jit/
H A Dqm_assign_004.phpt11 function getPropertyScopes($props, $flags): array
14 foreach ($props as $prop) {
/php-src/ext/pdo/
H A Dpdo_stmt.c2417 HashTable *props; in row_get_properties_for() local
2428 props = zend_array_dup(stmt->std.properties); in row_get_properties_for()
2437 zend_hash_update(props, stmt->columns[i].name, &val); in row_get_properties_for()
2439 return props; in row_get_properties_for()
/php-src/ext/reflection/tests/
H A D001.phpt72 $props = array_keys(get_class_vars('ReflectionClassEx'));
73 sort($props);
74 var_dump($props);
H A D012.phpt9 $props = $class->getDefaultProperties();
10 echo $props["test"];
H A DReflectionClass_export_basic2.phpt2 ReflectionClass::__toString() - ensure inherited private props are hidden.
H A DReflectionParameter_isDefault.phpt13 $props = $ro->getProperties();
14 $prop1 = $props[0];
16 $prop2 = $props[1];
H A DReflectionProperty_constructor_variation1.phpt2 ReflectionProperty::__construct(): ensure inherited private props can't be accessed through Reflect…
H A Dbug36308.phpt18 $props = $reflect->getProperties();
19 echo $props[0]->getDocComment();
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 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) {
/php-src/ext/snmp/
H A Dsnmp.c1789 HashTable *props; in php_snmp_get_properties() local
1794 props = zend_std_get_properties(object); in php_snmp_get_properties()
1800 zend_hash_update(props, key, &rv); in php_snmp_get_properties()

Completed in 85 milliseconds

12