Home
last modified time | relevance | path

Searched refs:name (Results 26 – 50 of 2152) sorted by relevance

12345678910>>...87

/php-src/tests/classes/
H A D__set__get_005.phpt9 function __get($name) {
11 if (isset($this->x[$name])) {
12 return $this->x[$name];
20 function __set($name, $val) {
22 $this->x[$name] = $val;
30 function __get($name) {
32 if (!isset($this->x[$name])) {
33 $this->x[$name] = new Test();
35 return $this->x[$name];
38 function __set($name, $val) {
[all …]
/php-src/ext/gd/libgd/
H A Dgd_xbm.c180 char *name, *f; in gdImageXbmCtx() local
183 name = file_name; in gdImageXbmCtx()
184 if ((f = strrchr(name, '/')) != NULL) name = f+1; in gdImageXbmCtx()
185 if ((f = strrchr(name, '\\')) != NULL) name = f+1; in gdImageXbmCtx()
186 name = estrdup(name); in gdImageXbmCtx()
188 if ((l = strlen(name)) == 0) { in gdImageXbmCtx()
189 efree(name); in gdImageXbmCtx()
190 name = estrdup("image"); in gdImageXbmCtx()
194 if (!isupper(name[i]) && !islower(name[i]) && !isdigit(name[i])) { in gdImageXbmCtx()
195 name[i] = '_'; in gdImageXbmCtx()
[all …]
/php-src/ext/reflection/tests/
H A DReflectionClass_getProperties_003.phpt45 ["name"]=>
52 ["name"]=>
59 ["name"]=>
66 ["name"]=>
75 ["name"]=>
82 ["name"]=>
89 ["name"]=>
96 ["name"]=>
105 ["name"]=>
112 ["name"]=>
[all …]
H A DReflectionClass_getMethods_003.phpt47 ["name"]=>
54 ["name"]=>
61 ["name"]=>
68 ["name"]=>
77 ["name"]=>
84 ["name"]=>
91 ["name"]=>
98 ["name"]=>
107 ["name"]=>
114 ["name"]=>
[all …]
H A D006.phpt20 foreach(array('pub', 'pro', 'pri') as $name)
24 var_dump($ref->getStaticPropertyValue($name));
25 var_dump($ref->getStaticPropertyValue($name));
26 $ref->setStaticPropertyValue($name, 'updated');
27 var_dump($ref->getStaticPropertyValue($name));
47 foreach(array('pub', 'pro', 'pri') as $name)
66 foreach(array('pub', 'pro', 'pri') as $name)
70 var_dump($ref->getStaticPropertyValue($name));
71 var_dump($ref->getStaticPropertyValue($name));
72 $ref->setStaticPropertyValue($name, 'updated');
[all …]
/php-src/Zend/tests/
H A Dbug30889.phpt12 function __set($name, $value)
14 print "set $name = $value ($name was ".$this->values[$name].")\n";
15 $this->values[$name] = $value;
17 function __get($name)
19 print "get $name (returns ".$this->values[$name].")\n";
20 return $this->values[$name];
H A Dbug71359.phpt7 public function __isset($name) {
8 echo "__isset($name)\n";
11 public function &__get($name) {
12 echo "__get($name)\n";
16 return $this->data[$name];
18 public function __set($name, $value) {
19 echo "__set($name)\n";
20 $this->data[$name] = $value;
22 public function __unset($name) {
23 echo "__unset($name)\n";
[all …]
H A Dmagic_methods_inheritance_rules.phpt6 public function __call(string $name, array $arguments): mixed {}
8 public static function __callStatic(string $name, array $arguments): mixed {}
14 public function __get(string $name): mixed {}
18 public function __isset(string $name): bool {}
22 public function __set(string $name, mixed $value): void {}
32 public function __unset(string $name): void {}
44 public function __get(string $name): int|string {}
54 public function __get(string|array $name): int|string {}
56 public function __isset(string|bool $name): bool {}
58 public function __set(string|bool|float $name, mixed $value): void {}
[all …]
H A Dvarvars_by_ref.phpt6 $name = 'var';
7 $ref =& $name;
9 $$name = 42;
10 var_dump(isset($$name));
11 unset($$name);
12 var_dump(isset($$name));
H A Dbug34893.phpt7 function __get($name){
8 return $this->$name;
10 function __set($name, $value) {
11 $this->$name = $value;
16 function __get($name){
17 return $this->$name;
19 function __set($name, $value) {
20 $this->$name = $value;
/php-src/ext/simplexml/tests/
H A Dbug27010.phpt10 <hot:drink><hot:name>Coffee</hot:name></hot:drink>
11 <hot:drink><hot:name>Tea</hot:name></hot:drink>
12 <drink><name>Cola</name></drink>
13 <drink><name>Juice</name></drink>
20 print "$element_name is $element->name\n";
24 print "$element_name is $element->name\n";
H A Dbug35785.phpt9 $xml->bla->posts->name = "FooBar";
13 $xml->bla->posts[0]->name = "FooBar";
16 $xml->bla->posts[]->name = "FooBar";
21 <root><bla><posts><name>FooBar</name></posts></bla></root>
24 <root><bla><posts><name>FooBar</name></posts></bla></root>
26 <root><bla><posts><name>FooBar</name></posts></bla></root>
H A D017.phpt9 <person name="Joe">
10 <child name="Ann" />
11 <child name="Marray" />
13 <person name="Boe">
14 <child name="Joe" />
15 <child name="Ann" />
21 <person name="Joe">
22 <child name="Ann" />
29 echo "person: ".$person['name']."\n";
31 echo " child: ".$child['name']."\n";
[all …]
/php-src/ext/soap/tests/
H A Dgh15711.wsdl4 <xsd:complexType name="book">
6 <xsd:element name="base64" type="xsd:base64Binary"/>
7 <xsd:element name="string" type="xsd:string"/>
17 <message name="dotestRequest">
18 <part name="dotestReturn" type="tns:book"/>
20 <portType name="testPortType">
21 <operation name="dotest">
25 <binding name="testBinding" type="tns:testPortType">
27 <operation name="dotest">
34 <service name="test">
[all …]
H A Dclassmap.wsdl4 <xsd:complexType name="book">
12 <message name="dotestRequest">
15 <message name="dotestResponse">
18 <message name="dotest2Request">
21 <message name="dotest2Response">
24 <portType name="testPortType">
25 <operation name="dotest">
29 <operation name="dotest2">
36 <operation name="dotest">
45 <operation name="dotest2">
[all …]
/php-src/Zend/
H A Dzend_modules.h78 const char *name; member
106 #define ZEND_MOD_REQUIRED_EX(name, rel, ver) { name, rel, ver, MODULE_DEP_REQUIRED }, argument
107 #define ZEND_MOD_CONFLICTS_EX(name, rel, ver) { name, rel, ver, MODULE_DEP_CONFLICTS }, argument
108 #define ZEND_MOD_OPTIONAL_EX(name, rel, ver) { name, rel, ver, MODULE_DEP_OPTIONAL }, argument
110 #define ZEND_MOD_REQUIRED(name) ZEND_MOD_REQUIRED_EX(name, NULL, NULL) argument
111 #define ZEND_MOD_CONFLICTS(name) ZEND_MOD_CONFLICTS_EX(name, NULL, NULL) argument
112 #define ZEND_MOD_OPTIONAL(name) ZEND_MOD_OPTIONAL_EX(name, NULL, NULL) argument
117 const char *name; /* module name */ member
/php-src/Zend/tests/return_types/
H A D043.phpt6 public function __get($name): bool {}
7 public function __call($name, $args): string {}
8 public static function __callStatic($name, $args): self {}
13 public function __get($name): string|array {}
14 public function __call($name, $args): int|float {}
15 public static function __callStatic($name, $args): ?object {}
20 public function __get($name): mixed {}
21 public function __call($name, $args): mixed {}
22 public static function __callStatic($name, $args): mixed {}
/php-src/ext/opcache/jit/ir/dynasm/
H A Ddynasm.lua11 name = "DynASM",
191 map_def[name] = def
199 if name then
212 map_def[name] = nil
242 t[#t+1] = name
357 local fullname = p == "" and name or p..dirsep..name
423 mac_name = name
518 cap_name = name
651 for name in pairs(map_coreop) do t[#t+1] = name end
652 for name in pairs(map_op) do t[#t+1] = name end
[all …]
/php-src/Zend/tests/enum/
H A Dname-property.phpt2 Enum name property
17 var_dump(Foo::Bar->name);
20 var_dump(IntFoo::Bar->name);
27 ["name"]=>
28 string(4) "name"
37 ["name"]=>
38 string(4) "name"
44 ["name"]=>
/php-src/.github/workflows/
H A Dpush.yml1 name: Push
85 - name: apt
100 - name: ccache
117 - name: make
121 - name: Setup
124 - name: Test
160 - name: apt
173 - name: make
200 - name: brew
212 - name: make
[all …]
/php-src/ext/spl/tests/
H A Dbug62059.phpt7 public function offsetGet($name): mixed {
8 echo "offsetGet($name)\n";
9 return parent::offsetGet($name);
11 public function offsetExists($name): bool {
12 echo "offsetExists($name)\n";
13 return parent::offsetExists($name);
17 public function offsetGet($name): mixed {
18 echo "offsetGet($name)\n";
19 return parent::offsetGet($name);
24 echo "offsetExists($name)\n";
[all …]
/php-src/ext/session/tests/
H A Drfc1867_no_name.phpt2 session rfc1867 no name
8 session.name=PHPSESSID
15 session.upload_progress.name=PHP_SESSION_UPLOAD_PROGRESS
23 PHPSESSID=rfc1867-no-name
25 PHPSESSID=rfc1867-no-name-get
29 Content-Disposition: form-data; name="PHPSESSID"
31 rfc1867-no-name-post
33 Content-Disposition: form-data; name="file1"; filename="file1.txt"
50 string(%d) "rfc1867-no-name"
54 ["name"]=>
[all …]
/php-src/ext/soap/tests/bugs/
H A Dbug40609.wsdl4 <xs:element name="getPrice">
7 <xs:element name="symbol" nillable="true" type="xs:string" />
11 <xs:element name="getPriceResponse">
14 <xs:element name="return" nillable="true" type="xs:double" />
18 <xs:element name="update">
21 <xs:element name="symbol" nillable="true" type="xs:any" />
22 <xs:element name="price" nillable="true" type="xs:any" />
26name="updateMessage"><wsdl:part name="part1" element="ns:update" /></wsdl:message><wsdl:message na…
/php-src/ext/dom/lexbor/lexbor/html/
H A Dencoding.c248 if (name == NULL) { in lxb_html_encoding_meta()
263 && lexbor_str_data_ncasecmp(attr->name, name, len)) in lxb_html_encoding_meta()
275 attr->name = name; in lxb_html_encoding_meta()
311 attr->name = name; in lxb_html_encoding_meta()
347 const lxb_char_t *name; in lxb_html_encoding_content() local
380 name = data; in lxb_html_encoding_content()
392 name = data; in lxb_html_encoding_content()
411 if (data == name) { in lxb_html_encoding_content()
419 return name; in lxb_html_encoding_content()
429 *name = NULL; in lxb_html_get_attribute()
[all …]
/php-src/sapi/fpm/fpm/
H A Dfpm_unix.c51 static inline bool fpm_unix_is_id(const char* name) in fpm_unix_is_id() argument
53 return strlen(name) == strspn(name, "0123456789"); in fpm_unix_is_id()
58 struct passwd *pwd = getpwnam(name); in fpm_unix_get_passwd()
60 zlog(flags, "[pool %s] cannot get uid for user '%s'", wp->config->name, name); in fpm_unix_get_passwd()
85 wp->config->name, in fpm_unix_check_listen_address()
96 return !name || fpm_unix_is_id(name) || fpm_unix_get_passwd(wp, name, flags); in fpm_unix_check_passwd()
101 struct group *group = getgrnam(name); in fpm_unix_get_group()
103 zlog(flags, "[pool %s] cannot get gid for group '%s'", wp->config->name, name); in fpm_unix_get_group()
112 return !name || fpm_unix_is_id(name) || fpm_unix_get_group(wp, name, flags); in fpm_unix_check_group()
174 zlog(ZLOG_SYSERROR, "[pool %s] cannot allocate ACL", wp->config->name); in fpm_unix_resolve_socket_permissions()
[all …]

Completed in 49 milliseconds

12345678910>>...87