/php-src/Zend/tests/ |
H A D | bug79778.phpt | 29 ["name"]=> 43 [name] => {closure:%s:%d} 54 ["name"]=> 68 [name] => {closure:%s:%d} 78 ["name"]=> 92 [name] => {closure:%s:%d}
|
H A D | bug78502.phpt | 7 'name' => 'a', 10 ['name' => 'b', 'quant' => 1], 11 ['name' => 'c', 'quant' => 1, 'children' => [ 12 ['name' => 'd', 'quant' => 1],
|
H A D | dynamic_prop_name_leak.phpt | 2 Dynamic prop name with type conversion in reference position should not leak 6 $name = 0.0; 7 $ref =& $obj->$name;
|
/php-src/ext/standard/tests/array/ |
H A D | array_intersect_ukey_variation8.phpt | 2 Test array_intersect_ukey() function : usage variation - Passing non-existing function name to call… 11 //function name within double quotes 18 //function name within single quotes 28 …rgument #3 must be a valid callback, function "unknown_function" not found or invalid function name 29 …rgument #3 must be a valid callback, function "unknown_function" not found or invalid function name
|
H A D | array_diff_ukey_variation10.phpt | 2 Test array_diff_ukey() function : usage variation - Passing non-existing function name to callback 11 //function name within double quotes 18 //function name within single quotes 28 …rgument #3 must be a valid callback, function "unknown_function" not found or invalid function name 29 …rgument #3 must be a valid callback, function "unknown_function" not found or invalid function name
|
H A D | bug76713.phpt | 21 public $name; 22 public function __get($name) { 23 return $this->name; 29 $obj->name = str_pad("b", 10, 'b');
|
/php-src/ext/simplexml/tests/ |
H A D | 014b.phpt | 9 <person name="Joe"></person> 10 <person name="Boe"></person> 15 var_dump($people->person[0]['name']); 18 $person['name'] = "XXX"; 19 var_dump($people->person[1]['name']);
|
/php-src/benchmark/ |
H A D | generate_diff.php | 28 foreach ($headSummary as $name => $headBenchmark) { 29 if ($name === 'branch') { 32 $baseInstructions = $baseSummary[$name]['instructions'] ?? null; 33 $headInstructions = $headSummary[$name]['instructions']; 34 $output .= "| $name | "
|
/php-src/ext/phar/tests/cache_list/files/ |
H A D | write5.phar | 12 foreach ($phar2 as $name => $file) { 13 $arr[$name] = $file->getContent(); 16 foreach ($arr as $name => $content) { 17 echo $name, " ", $content;
|
/php-src/Zend/ |
H A D | zend_API.c | 1557 zend_string *name; in zend_update_class_constants() local 2329 while (dep->name) { in zend_startup_module_ex() 2399 if (strcasecmp(dep->name, r->name) == 0) { in zend_sort_modules() 2532 while (dep->name) { in zend_register_module_ex() 3030 if (!strcmp(arg_info->name, reg_function->arg_info[j].name)) { in zend_register_functions() 4048 ZSTR_VAL(ce->name), ZSTR_LEN(ce->name), in zend_get_callable_name_ex() 4496 name = zend_new_interned_string(zend_string_copy(name)); in zend_declare_typed_property() 4505 property_info->name = zend_string_copy(name); in zend_declare_typed_property() 4507 …property_info->name = zend_mangle_property_name(ZSTR_VAL(ce->name), ZSTR_LEN(ce->name), ZSTR_VAL(n… in zend_declare_typed_property() 4510 …property_info->name = zend_mangle_property_name("*", 1, ZSTR_VAL(name), ZSTR_LEN(name), is_persist… in zend_declare_typed_property() [all …]
|
H A D | zend_object_handlers.c | 664 if (EXPECTED(p->key == name) || in zend_std_read_property() 759 ZSTR_VAL(prop_info->ce->name), in zend_std_read_property() 760 ZSTR_VAL(name)); in zend_std_read_property() 762 zend_error(E_WARNING, "Undefined property: %s::$%s", ZSTR_VAL(zobj->ce->name), ZSTR_VAL(name)); in zend_std_read_property() 914 zend_wrong_offset(zobj->ce, name); in zend_std_write_property() 1110 ZSTR_VAL(prop_info->ce->name), in zend_std_get_property_ptr_ptr() 1111 ZSTR_VAL(name)); in zend_std_get_property_ptr_ptr() 1114 … zend_error(E_WARNING, "Undefined property: %s::$%s", ZSTR_VAL(zobj->ce->name), ZSTR_VAL(name)); in zend_std_get_property_ptr_ptr() 1161 zend_error(E_WARNING, "Undefined property: %s::$%s", ZSTR_VAL(zobj->ce->name), ZSTR_VAL(name)); in zend_std_get_property_ptr_ptr() 1388 scope ? ZSTR_VAL(scope->name) : "" in zend_bad_method_call() [all …]
|
/php-src/ext/opcache/tests/opt/ |
H A D | gh8140b.phpt | 2 GH-8140 (Wrong first class callable by name optimization) 7 function greeter(string $name) { 8 echo "Hello, {$name}!";
|
H A D | gh8140a.phpt | 2 GH-8140 (Wrong first class callable by name optimization) 7 function greeter(string $name) { 8 echo "Hello, {$name}!";
|
/php-src/Zend/tests/traits/ |
H A D | get_declared_traits_004.phpt | 8 foreach (get_declared_traits() as $name) { 9 if (strlen($name) == 1) { 10 echo $name;
|
/php-src/ext/xml/ |
H A D | compat.c | 42 *qualified = xmlStrncat(*qualified, name, xmlStrlen(name)); in _qualify_namespace() 44 *qualified = xmlStrdup(name); in _qualify_namespace() 58 qualified_name = xmlStrncatNew((xmlChar *)"<", name, xmlStrlen(name)); in _start_element_handler() 81 qualified_name = xmlStrdup(name); in _start_element_handler() 112 qualified_name = xmlStrncat(qualified_name, name, xmlStrlen(name)); in _start_element_handler_ns() 114 qualified_name = xmlStrncatNew((xmlChar *)"<", name, xmlStrlen(name)); in _start_element_handler_ns() 216 qualified_name = xmlStrdup(name); in _end_element_handler() 347 memcpy(*entity+1, name, len); in _build_entity() 368 _get_entity(void *user, const xmlChar *name) in _get_entity() argument 374 ret = xmlGetPredefinedEntity(name); in _get_entity() [all …]
|
/php-src/ext/xsl/tests/ |
H A D | bug71571_b.phpt | 14 <xsl:call-template name="recurse"/> 17 <xsl:template name="recurse"> 18 <xsl:param name="COUNT">1</xsl:param> 19 <xsl:call-template name="recurse"> 20 <xsl:with-param name="COUNT" select="$COUNT + 1"/> 47 Warning: XSLTProcessor::transformToDoc(): #0 name recurse in %s on line %d 49 Warning: XSLTProcessor::transformToDoc(): #1 name recurse in %s on line %d 51 Warning: XSLTProcessor::transformToDoc(): #2 name / in %s on line %d
|
/php-src/tests/classes/ |
H A D | method_call_variation_001.phpt | 2 In $a->$b[Y]() and $a->X[Y]() both $a->$b[Y] and $a->X[Y] represent a global function name 13 $name = 'functions'; 19 $c->$name[0](1, 2); 20 $c->$name[1][2][3][4](3, 4);
|
/php-src/ext/pdo_sqlite/tests/ |
H A D | pdo_sqlite_createfunction.phpt | 10 $db->query('CREATE TABLE test_pdo_sqlite_createfunction (id INT AUTO INCREMENT, name TEXT)'); 18 foreach ($db->query('SELECT testing(name) FROM test_pdo_sqlite_createfunction') as $row) { 25 ["testing(name)"]=> 31 ["testing(name)"]=>
|
/php-src/ext/phar/tests/ |
H A D | metadata_write.phpt | 21 foreach($files as $name => $cont) { 22 var_dump(file_get_contents($pname.'/'.$name)); 31 foreach($files as $name => $cont) { 32 var_dump($phar[$name]->getMetadata()); 37 foreach($files as $name => $cont) { 38 var_dump(file_get_contents($pname.'/'.$name));
|
/php-src/ext/reflection/tests/ |
H A D | ReflectionClass_getReflectionConstants_filter.phpt | 39 ["name"]=> 46 ["name"]=> 55 ["name"]=> 62 ["name"]=> 71 ["name"]=> 78 ["name"]=>
|
H A D | ReflectionParameter_001.phpt | 29 $name = $parameter->getName(); 38 $name = $parameter->getName(); 49 $name = $parameter->getName(); 60 ["name"]=> 65 ["name"]=> 72 ["name"]=>
|
/php-src/ext/standard/tests/file/ |
H A D | move_uploaded_file_basic.phpt | 9 content-disposition: form-data; name="field1" 13 content-disposition: form-data; name="file1"; filename="file1.txt" 18 content-disposition: form-data; name="file2"; filename="file2.txt" 36 echo "Original name of uploaded file\n"; 38 var_dump(move_uploaded_file($_FILES['file1']['name'], $destination2)); 58 Original name of uploaded file
|
/php-src/ext/posix/tests/ |
H A D | bug75696.phpt | 8 $name = posix_getgrgid($gid)['name']; 9 $info = posix_getgrnam($name);
|
/php-src/ext/xmlreader/tests/ |
H A D | next_basic.phpt | 30 echo $reader->name . PHP_EOL; 32 echo $reader->name . PHP_EOL; 34 echo $reader->name . PHP_EOL; 36 echo $reader->name . PHP_EOL; 38 echo $reader->name . PHP_EOL;
|
/php-src/ext/pdo_mysql/tests/ |
H A D | pdomysql_002.phpt | 20 $db->exec('CREATE TABLE pdomysql_002(id INT NOT NULL PRIMARY KEY, name VARCHAR(10))'); 23 foreach ($db->query('SELECT name FROM pdomysql_002') as $row) { 37 ["name"]=> 43 ["name"]=> 49 ["name"]=>
|