/php-src/ext/dom/lexbor/lexbor/tag/ |
H A D | tag.c | 14 const lxb_char_t *name, size_t length) in lxb_tag_append() argument 20 name, length); in lxb_tag_append() 25 data = lexbor_hash_insert(hash, lexbor_hash_insert_raw, name, length); in lxb_tag_append() 47 name, length); in lxb_tag_append_lower() 52 data = lexbor_hash_insert(hash, lexbor_hash_insert_lower, name, length); in lxb_tag_append_lower() 81 if (name == NULL || len == 0) { in lxb_tag_data_by_name() 86 name, len); in lxb_tag_data_by_name() 98 const lxb_char_t *name, size_t len) 103 if (name == NULL || len == 0) { 108 name, len); [all …]
|
/php-src/ext/gd/libgd/ |
H A D | gd_xbm.c | 180 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 D | ReflectionClass_getProperties_003.phpt | 45 ["name"]=> 52 ["name"]=> 59 ["name"]=> 66 ["name"]=> 75 ["name"]=> 82 ["name"]=> 89 ["name"]=> 96 ["name"]=> 105 ["name"]=> 112 ["name"]=> [all …]
|
H A D | ReflectionClass_getMethods_003.phpt | 47 ["name"]=> 54 ["name"]=> 61 ["name"]=> 68 ["name"]=> 77 ["name"]=> 84 ["name"]=> 91 ["name"]=> 98 ["name"]=> 107 ["name"]=> 114 ["name"]=> [all …]
|
H A D | 006.phpt | 20 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 D | bug71359.phpt | 7 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 D | bug30889.phpt | 12 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 D | magic_methods_inheritance_rules.phpt | 6 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 D | bug34893.phpt | 7 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;
|
H A D | varvars_by_ref.phpt | 6 $name = 'var'; 7 $ref =& $name; 9 $$name = 42; 10 var_dump(isset($$name)); 11 unset($$name); 12 var_dump(isset($$name));
|
/php-src/ext/simplexml/tests/ |
H A D | bug27010.phpt | 10 <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 D | bug35785.phpt | 9 $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 D | 017.phpt | 9 <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 D | classmap.wsdl | 4 <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 D | zend_modules.h | 78 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/ext/opcache/jit/ir/dynasm/ |
H A D | dynasm.lua | 11 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/return_types/ |
H A D | 043.phpt | 6 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/Zend/tests/enum/ |
H A D | name-property.phpt | 2 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/ext/soap/tests/bugs/ |
H A D | bug40609.wsdl | 4 <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" /> 26 …name="updateMessage"><wsdl:part name="part1" element="ns:update" /></wsdl:message><wsdl:message na…
|
/php-src/ext/session/tests/ |
H A D | rfc1867_no_name.phpt | 2 session rfc1867 no name 7 session.name=PHPSESSID 14 session.upload_progress.name=PHP_SESSION_UPLOAD_PROGRESS 22 PHPSESSID=rfc1867-no-name 24 PHPSESSID=rfc1867-no-name-get 28 Content-Disposition: form-data; name="PHPSESSID" 30 rfc1867-no-name-post 32 Content-Disposition: form-data; name="file1"; filename="file1.txt" 49 string(%d) "rfc1867-no-name" 53 ["name"]=> [all …]
|
/php-src/ext/spl/tests/ |
H A D | bug62059.phpt | 7 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/dom/lexbor/lexbor/html/ |
H A D | encoding.c | 248 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 D | fpm_unix.c | 51 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 …]
|
/php-src/ext/xmlwriter/ |
H A D | php_xmlwriter.stub.php | 17 function xmlwriter_start_attribute(XMLWriter $writer, string $name): bool {} argument 27 function xmlwriter_start_element(XMLWriter $writer, string $name): bool {} argument 73 function xmlwriter_start_dtd_attlist(XMLWriter $writer, string $name): bool {} argument 133 public function startAttribute(string $name): bool {} argument 145 public function writeAttribute(string $name, string $value): bool {} argument 163 public function startElement(string $name): bool {} argument 187 public function writeElement(string $name, ?string $content = null): bool {} argument 295 public function writeDtdElement(string $name, string $content): bool {} argument 301 public function startDtdAttlist(string $name): bool {} argument 313 public function writeDtdAttlist(string $name, string $content): bool {} argument [all …]
|
/php-src/Zend/Optimizer/ |
H A D | zend_func_info.c | 35 const char *name; member 41 #define F0(name, info) \ argument 42 {name, sizeof(name)-1, (info), NULL} 43 #define F1(name, info) \ argument 44 {name, sizeof(name)-1, (MAY_BE_RC1 | (info)), NULL} 45 #define FN(name, info) \ argument 46 {name, sizeof(name)-1, (MAY_BE_RC1 | MAY_BE_RCN | (info)), NULL} 47 #define FC(name, callback) \ argument 48 {name, sizeof(name)-1, 0, callback} 108 zend_string *name = callee_func->common.function_name; in zend_get_internal_func_info() local [all …]
|