/php-src/tests/classes/ |
H A D | autoload_018.phpt | 2 Ensure __autoload() allows for recursive calls if the class name differs. 5 spl_autoload_register(function ($name) { 6 echo "IN: autoload($name)\n"; 16 echo "OUT: autoload($name)\n";
|
H A D | unset_properties.phpt | 15 public function __get($name) 17 return '__get "' . $name . '"'; 20 public function __set($name, $value) 22 $this->$name = $value; 23 echo '__set "' . $name . '" to "' . $value . '"'; 26 public function __isset($name) 28 echo '__isset "' . $name . '"'; 29 return isset($this->$name);
|
/php-src/ext/reflection/tests/ |
H A D | bug46064_2.phpt | 43 ["name"]=> 49 ["name"]=> 62 ["name"]=> 69 ["name"]=>
|
/php-src/ext/session/tests/ |
H A D | session_name_variation1.phpt | 5 session.name=PHPSESSID 37 Warning: session_start(): session.name cannot contain any of the following '=,;.[ \t\r\n\013\014' i… 43 Warning: session_name(): session.name "" cannot be numeric or empty in %s on line %d 46 Warning: session_start(): session.name cannot contain any of the following '=,;.[ \t\r\n\013\014' i…
|
/php-src/Zend/tests/lazy_objects/ |
H A D | fetch_magic_prop_may_not_initialize.phpt | 11 public function __get($name) { 12 return $name; 16 function test(string $name, object $obj) { 17 printf("# %s:\n", $name);
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_break.h | 25 #define PHPDBG_BREAK(name) PHPDBG_COMMAND(break_##name) argument
|
/php-src/tests/basic/ |
H A D | 021.phpt | 9 Content-Disposition: form-data; name="submitter" 13 Content-Disposition: form-data; name="pics"; filename="bug37276.txt" 28 ["name"]=>
|
H A D | 031.phpt | 8 Content-Disposition: form-data; name="data" 12 Content-Disposition: form-data; name="data2" 16 Content-Disposition: form-data; name="data3"
|
H A D | enable_post_data_reading_02.phpt | 8 Content-Disposition: form-data; name="file1"; filename="file1.txt" 26 Content-Disposition: form-data; name="file1"; filename="file1.txt" 32 Content-Disposition: form-data; name="file1"; filename="file1.txt"
|
H A D | 029.phpt | 13 Content-Disposition: form-data; name="�\�\�\" 17 Content-Disposition: form-data; name="pics"; filename="file1.txt" 32 ["name"]=>
|
/php-src/ext/dom/tests/ |
H A D | DOMElement_getAttributeNames.phpt | 12 foreach ($dom->documentElement->getAttributeNames() as $name) { 13 assert($dom->documentElement->getAttributeNode($name)->nodeName === $name);
|
/php-src/ext/pdo_sqlite/ |
H A D | sqlite_driver_arginfo.h | 5 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0) 12 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0) 19 ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
|
/php-src/win32/ |
H A D | registry.c | 86 char *name = (char*)emalloc(max_name+1); in LoadDirectory() local 94 memset(name, '\0', max_name+1); in LoadDirectory() 97 if (RegEnumValue(key, i, name, &name_len, NULL, &type, value, &value_len) == ERROR_SUCCESS) { in LoadDirectory() 109 zend_hash_str_update(ht, name, name_len, &data); in LoadDirectory() 127 efree(name); in LoadDirectory() 137 char *name = (char*)emalloc(max_key+1); in LoadDirectory() local 145 if (RegEnumKeyEx(key, i, name, &name_len, NULL, NULL, NULL, &t) == ERROR_SUCCESS) { in LoadDirectory() 146 if (RegOpenKeyEx(key, name, 0, KEY_READ, &subkey) == ERROR_SUCCESS) { in LoadDirectory() 150 memcpy(new_path+path_len+1, name, name_len+1); in LoadDirectory() 154 memcpy(new_path, name, name_len+1); in LoadDirectory() [all …]
|
/php-src/ext/standard/tests/file/ |
H A D | rename_variation13-win32.phpt | 31 /* disable notice so we don't get the array to string conversion notice for "$name" where $name = a… 43 $name = $names_arr[$i]; 44 echo "-- $i testing '$name' " . gettype($name) . " --\n"; 47 var_dump(rename($aFile, $name)); 48 if (file_exists($name)) { 49 @unlink($name); 55 var_dump(rename($name, $aFile)); 91 Warning: rename(%s): The filename, directory name, or volume label syntax is incorrect (code: 123) … 94 Warning: rename(%s): The filename, directory name, or volume label syntax is incorrect (code: 123) …
|
/php-src/Zend/tests/type_declarations/ |
H A D | confusable_type_warning.phpt | 38 Warning: "integer" will be interpreted as a class name. Did you mean "int"? Write "\integer" to sup… 40 Warning: "double" will be interpreted as a class name. Did you mean "float"? Write "\double" to sup… 42 Warning: "boolean" will be interpreted as a class name. Did you mean "bool"? Write "\boolean" to su… 44 Warning: "resource" is not a supported builtin type and will be interpreted as a class name. Write … 46 Warning: "boolean" will be interpreted as a class name. Did you mean "bool"? Write "\Foo\boolean" o… 48 Warning: "boolean" will be interpreted as a class name. Did you mean "bool"? Write "\boolean" to su…
|
/php-src/ext/soap/ |
H A D | php_packet_soap.c | 259 char *name, *ns = NULL; in parse_packet_soap() local 271 name = param->element->name; in parse_packet_soap() 278 name = param->paramName; in parse_packet_soap() 281 name = fn->responseName; in parse_packet_soap() 286 cur = get_node_ex(resp, name, ns); in parse_packet_soap() 288 cur = get_node(resp, name); in parse_packet_soap() 348 if (val->name) { in parse_packet_soap() 349 …rr = zend_hash_str_find(Z_ARRVAL_P(return_value), (char*)val->name, strlen((char*)val->name))) != … in parse_packet_soap() 356 add_assoc_zval(return_value, (char*)val->name, &arr); in parse_packet_soap() 405 smart_str_appends(&key, (char*)trav->name); in parse_packet_soap() [all …]
|
/php-src/main/ |
H A D | output.c | 541 if (SUCCESS != conflict(ZSTR_VAL(handler->name), ZSTR_LEN(handler->name))) { in php_output_handler_start() 547 if (SUCCESS != conflict(ZSTR_VAL(handler->name), ZSTR_LEN(handler->name))) { in php_output_handler_start() 570 if (zend_string_equals_cstr(handlers[i]->name, name, name_len)) { in php_output_handler_started() 606 str = zend_string_init_interned(name, name_len, 1); in php_output_handler_conflict_register() 634 str = zend_string_init_interned(name, name_len, 1); in php_output_handler_reverse_conflict_register() 660 str = zend_string_init_interned(name, name_len, 1); in php_output_handler_alias_register() 700 if (handler->name) { in php_output_handler_dtor() 701 zend_string_release_ex(handler->name, 0); in php_output_handler_dtor() 861 handler->name = zend_string_copy(name); in php_output_handler_init() 918 handler->name, in php_output_handler_op() [all …]
|
/php-src/ext/mbstring/tests/ |
H A D | gh15824.phpt | 7 echo "== alias name ==\n"; 17 echo "== mime name ==\n"; 25 == alias name == 33 == mime name ==
|
/php-src/ext/pdo_pgsql/tests/ |
H A D | pg_debug_emulated_prepares.phpt | 34 name=[5] ":bool" 39 name=[4] ":int" 44 name=[7] ":string" 49 name=[5] ":null"
|
H A D | bug62498.phpt | 68 ["name"]=> 87 ["name"]=> 106 ["name"]=> 125 ["name"]=> 144 ["name"]=> 163 ["name"]=> 182 ["name"]=> 201 ["name"]=> 220 ["name"]=>
|
H A D | bug62498-32bit.phpt | 69 ["name"]=> 88 ["name"]=> 107 ["name"]=> 126 ["name"]=> 145 ["name"]=> 164 ["name"]=> 183 ["name"]=> 202 ["name"]=> 221 ["name"]=>
|
/php-src/ext/zip/tests/ |
H A D | oo_externalattributes.phpt | 8 $name = __DIR__ . '/withattr.zip'; 12 $r = $zip->open($name, ZIPARCHIVE::CREATE); 21 $r = $zip->open($name); 41 $name = __DIR__ . '/withattr.zip'; 42 @unlink($name);
|
/php-src/ext/spl/tests/ |
H A D | iterator_003.phpt | 9 private $name; 11 public function __construct($id, $name) 14 $this->name = $name; 19 return $this->id . ', ' . $this->name;
|
/php-src/Zend/tests/ |
H A D | indirect_call_string_002.phpt | 2 Indirect call with empty class and/or method name. 21 // Test array syntax with empty class name 29 // Test Class::method syntax with empty class name 37 // Test array syntax with empty class and method name 45 // Test Class::method syntax with empty class and method name
|
/php-src/ext/standard/tests/general_functions/ |
H A D | output_add_rewrite_var_basic2.phpt | 19 output_add_rewrite_var('<name>', '<value>'); 39 output_add_rewrite_var('<name>', '<value>'); 87 <form method="get"><input type="hidden" name="<NAME>" value="<VALUE>" /> </form> 88 <form action="./foo.php" method="get"><input type="hidden" name="<NAME>" value="<VALUE>… 89 <form action="//php.net/bar.php" method="get"><input type="hidden" name="<NAME>" value="<V… 102 <form method="get"><input type="hidden" name="<NAME>" value="<VALUE>" /> </form> 103 <form action="./foo.php" method="get"><input type="hidden" name="<NAME>" value="<VALUE>… 104 <form action="//php.net/bar.php" method="get"><input type="hidden" name="<NAME>" value="<V… 119 <form method="get"><input type="hidden" name="<NAME>" value="<VALUE>" /> </form> 120 <form action="./foo.php" method="get"><input type="hidden" name="<NAME>" value="<VALUE>… [all …]
|