/PHP-7.1/ext/standard/tests/array/ |
H A D | bug34066_1.phpt | 246 print "gen_xml(prefix=$prefix)\n"; 264 print "gen_xml(prefix=$prefix) end\n"; 269 gen_xml(prefix=/Docs/) 272 gen_xml(prefix=/Docs/) 275 gen_xml(prefix=/Docs/) 278 gen_xml(prefix=/Docs/) 281 gen_xml(prefix=/Docs/) 284 gen_xml(prefix=/Docs/) 287 gen_xml(prefix=/Docs/) 290 gen_xml(prefix=/Docs/) [all …]
|
H A D | bug34066.phpt | 246 print "gen_xml(prefix=$prefix)\n"; 262 print "$prefix$key\n"; 264 print "gen_xml(prefix=$prefix) end\n"; 269 gen_xml(prefix=/Docs/) 270 gen_xml(prefix=/Docs/@) 273 gen_xml(prefix=/Docs/@) 276 gen_xml(prefix=/Docs/@) 279 gen_xml(prefix=/Docs/@) 282 gen_xml(prefix=/Docs/) end 283 gen_xml(prefix=/Docs/) [all …]
|
/PHP-7.1/ext/standard/tests/file/ |
H A D | symlink_to_symlink.phpt | 11 $prefix = __FILE__; 13 touch($prefix . "_file"); 16 symlink(basename($prefix . "_file"), $prefix . "_link1"); 19 symlink(basename($prefix . "_link1"), $prefix . "_link2"); 23 symlink(basename($prefix . "_nonexistent"), $prefix . "_link3"); 26 symlink($prefix . "_file", $prefix . "_link4"); 29 symlink($prefix . "_link4", $prefix . "_link5"); 37 unlink($prefix . "_link5"); 38 unlink($prefix . "_link4"); 39 unlink($prefix . "_link3"); [all …]
|
/PHP-7.1/ext/dba/ |
H A D | install_cdb.sh | 20 prefix=$1 22 if test -z "$prefix"; then 23 prefix=/usr/local 26 echo "Using prefix $prefix" 28 if mkdir -p "$prefix/include" "$prefix/lib"; then 45 ar r "$prefix/lib/libcdb.a" * 46 ranlib "$prefix/lib/libcdb.a" 51 cp cdb.h uint32.h "$prefix/include"
|
/PHP-7.1/ext/standard/tests/file/windows_mb_path/ |
H A D | test_readdir_mb_names.phpt | 17 $prefix = create_data("mb_names"); 21 create_verify_file($prefix, "š.txt", ""); 23 create_verify_file($prefix, "Voláçao", "hola"); 24 create_verify_file($prefix, "Ελλάδα.txt", ""); 29 create_verify_dir($prefix, "tschüß3"); 30 create_verify_dir($prefix, "Voláçao3"); 31 create_verify_dir($prefix, "привет3"); 32 create_verify_dir($prefix, "テストマルチバイト・パス42"); 33 create_verify_dir($prefix, "測試多字節路徑5"); 34 create_verify_dir($prefix, "żółć"); [all …]
|
H A D | util_utf8.inc | 5 $prefix = dirname(__FILE__) . DIRECTORY_SEPARATOR . $id; 7 if (!is_dir($prefix)) { 8 mkdir($prefix); 24 create_verify_file($prefix, $item, $content); 28 create_verify_file($prefix, "š.txt", ""); 38 create_verify_file($prefix, $item, "hola"); 42 create_verify_file($prefix, "Ελλάδα.txt", ""); 67 create_verify_dir($prefix, "テストマルチバイト・パス42"); 85 create_verify_dir($prefix, $item, $cp); 89 create_verify_file($prefix, $item, "", $cp); [all …]
|
H A D | bug54977.phpt | 19 $prefix = dirname(__FILE__) . DIRECTORY_SEPARATOR . "testBug54977" . DIRECTORY_SEPARATOR; 23 mkdir($prefix); 25 mkdir($prefix . $d); 26 file_put_contents($prefix . $d . ".test", $d); 29 $myDirectory = opendir($prefix); 31 echo get_basename_with_cp($prefix . $entryName, 65001, false) . "\n"; 36 rmdir($prefix . $d); 37 unlink($prefix . $d . ".test"); 39 rmdir($prefix);
|
H A D | bug54028.phpt | 19 $prefix = dirname(__FILE__) . DIRECTORY_SEPARATOR . "testBug54028" . DIRECTORY_SEPARATOR; 23 mkdir($prefix); 25 mkdir($prefix . $d); 28 $directory = dir($prefix); 34 if ($content != get_basename_with_cp($prefix . $content, 65001, false)) { 41 rmdir($prefix . $d); 43 rmdir($prefix);
|
H A D | bug75063_utf8.phpt | 20 $prefix = dirname(__FILE__) . DIRECTORY_SEPARATOR . "bug75063-utf8"; 21 $d0 = $prefix . DIRECTORY_SEPARATOR . $dir_basename; 23 mkdir($prefix); 24 create_verify_dir($prefix, $dir_basename); 59 $prefix = dirname(__FILE__) . DIRECTORY_SEPARATOR . "bug75063-utf8"; 60 $d0 = $prefix . DIRECTORY_SEPARATOR . $dir_basename; 69 rmdir($prefix);
|
H A D | bug54028_2.phpt | 19 $prefix = dirname(__FILE__) . DIRECTORY_SEPARATOR . "testBug54028" . DIRECTORY_SEPARATOR; 23 mkdir($prefix); 25 mkdir($prefix . $d); 30 $now = $prefix . $d; 38 rmdir($prefix . $d); 40 rmdir($prefix);
|
H A D | bug75063_cp1251.phpt | 22 $prefix = dirname(__FILE__) . DIRECTORY_SEPARATOR . "bug75063-cp1251"; 23 $d0 = $prefix . DIRECTORY_SEPARATOR . $dir_basename; 25 mkdir($prefix); 26 create_verify_dir($prefix, $dir_basename, 1251); 58 $prefix = dirname(__FILE__) . DIRECTORY_SEPARATOR . "bug75063-cp1251"; 59 $d0 = $prefix . DIRECTORY_SEPARATOR . $dir_basename; 68 rmdir($prefix);
|
H A D | bug64699.phpt | 22 $prefix = dirname(__FILE__) . DIRECTORY_SEPARATOR . "testBug64699" . DIRECTORY_SEPARATOR; 26 mkdir($prefix); 28 mkdir($prefix . $d); 31 $dir = $prefix; 44 rmdir($prefix . $d); 46 rmdir($prefix);
|
H A D | util.inc | 73 function create_verify_file($prefix, $basename, $content = "", $cp = 65001) 75 $full = $prefix . DIRECTORY_SEPARATOR . $basename; 93 function create_verify_dir($prefix, $basename, $cp = 65001) 95 $full = $prefix . DIRECTORY_SEPARATOR . $basename; 131 $prefix = dirname(__FILE__) . DIRECTORY_SEPARATOR . $id; 133 if (!is_dir($prefix)) { 134 mkdir($prefix); 138 create_verify_dir($prefix, $item, $cp); 141 create_verify_file($prefix, $item, "dummy content", $cp); 147 return $prefix;
|
H A D | bug61315.phpt | 19 $prefix = dirname(__FILE__) . DIRECTORY_SEPARATOR . "testBug61315" . DIRECTORY_SEPARATOR; 21 $d0 = $prefix . "ソフト"; 22 $d1 = $prefix . "フォルダ"; 24 mkdir($prefix); 44 rmdir($prefix);
|
/PHP-7.1/sapi/fpm/tests/ |
H A D | main-global-prefix.phpt | 2 FPM: Main invocation with prefix 28 $prefix = __DIR__; 30 $tester->start('--prefix ' . $prefix); 32 $tester->expectFile(FPM\Tester::FILE_EXT_LOG_ACC, $prefix); 33 $tester->expectFile(FPM\Tester::FILE_EXT_LOG_ERR, $prefix); 34 $tester->expectFile(FPM\Tester::FILE_EXT_LOG_SLOW, $prefix); 35 $tester->expectFile(FPM\Tester::FILE_EXT_PID, $prefix); 40 $tester->expectNoFile(FPM\Tester::FILE_EXT_PID, $prefix);
|
H A D | pool-prefix.phpt | 2 FPM: Pool prefix 12 $prefix = __DIR__; 19 prefix = $prefix 37 $tester->expectFile(FPM\Tester::FILE_EXT_LOG_ACC, $prefix); 39 $tester->expectFile(FPM\Tester::FILE_EXT_LOG_SLOW, $prefix);
|
/PHP-7.1/ext/standard/tests/general_functions/ |
H A D | uniqid_basic.phpt | 5 /* Prototype : string uniqid ([ string $prefix= "" [, bool $more_entropy= false ]] ) 11 echo "\nuniqid() without a prefix\n"; 17 echo "uniqid() with a prefix\n"; 19 // Use a fixed prefix so we can ensure length of o/p id is fixed 20 $prefix = array ( 29 for ($i = 0; $i < count($prefix); $i++) { 30 var_dump(uniqid($prefix[$i])); 31 var_dump(uniqid($prefix[$i], true)); 32 var_dump(uniqid($prefix[$i], false)); 41 uniqid() without a prefix [all …]
|
H A D | bug29038.phpt | 10 $c = extract(array("" => 1),EXTR_PREFIX_SAME,"prefix"); 17 $c = extract(array("a" => 1),EXTR_PREFIX_SAME,"prefix"); 24 $c = extract(array("a" => 1),EXTR_PREFIX_ALL,"prefix"); 30 $c = extract(array("" => 1),EXTR_PREFIX_ALL,"prefix"); 36 $c = extract(array("111" => 1),EXTR_PREFIX_ALL,"prefix");
|
/PHP-7.1/ext/dom/tests/ |
H A D | bug49490.phpt | 2 Bug #49490 (XPath namespace prefix conflict). 8 $doc->loadXML('<prefix:root xmlns:prefix="urn:a" />'); 11 $xp->registerNamespace('prefix', 'urn:b'); 13 echo($xp->query('//prefix:root', null, false)->length . "\n");
|
H A D | dom_create_element.phpt | 35 print " 4 DOMDocument::createElement('prefix:valid')\n"; 38 $dom->createElement('prefix:valid'); 83 $dom->createElementNS('', 'prefix:invalid'); 110 $dom->createElementNS('-', 'prefix:valid'); 141 print "16 DOMElement::__construct('prefix:valid')\n"; 143 $element = new DomElement('prefix:valid'); 218 $dom->createElementNS('', 'prefix:valid'); 302 qualifiedName nor its prefix is "xmlns". */ 331 4 DOMDocument::createElement('prefix:valid') 355 16 DOMElement::__construct('prefix:valid') [all …]
|
/PHP-7.1/ext/xmlreader/tests/ |
H A D | 010.phpt | 9 <prefix:books xmlns:prefix="uri" isbn="" prefix:isbn="12isbn">book1</prefix:books>'; 26 prefix:books 12isbn
|
/PHP-7.1/ext/standard/ |
H A D | uniqid.c | 46 char *prefix = ""; in PHP_FUNCTION() local 57 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|sb", &prefix, &prefix_len, in PHP_FUNCTION() 80 uniqid = strpprintf(0, "%s%08x%05x%.8F", prefix, sec, usec, php_combined_lcg() * 10); in PHP_FUNCTION() 82 uniqid = strpprintf(0, "%s%08x%05x", prefix, sec, usec); in PHP_FUNCTION()
|
/PHP-7.1/ext/dom/ |
H A D | element.c | 189 xmlFree(prefix); in PHP_METHOD() 203 xmlFree(prefix); in PHP_METHOD() 284 if (prefix && xmlStrEqual(prefix, (xmlChar *)"xmlns")) { in dom_get_dom1_attribute() 292 xmlFree(prefix); in dom_get_dom1_attribute() 297 xmlFree(prefix); in dom_get_dom1_attribute() 709 snprintf((char *) prefix, sizeof(prefix), "default"); in _dom_new_reconNs() 711 snprintf((char *) prefix, sizeof(prefix), "%.20s", (char *)ns->prefix); in _dom_new_reconNs() 717 snprintf((char *) prefix, sizeof(prefix), "default%d", counter++); in _dom_new_reconNs() 719 snprintf((char *) prefix, sizeof(prefix), "%.20s%d", in _dom_new_reconNs() 849 xmlFree(prefix); in PHP_FUNCTION() [all …]
|
/PHP-7.1/ext/spl/internal/ |
H A D | recursivetreeiterator.inc | 39 private $prefix = array(0=>'', 1=>'| ', 2=>' ', 3=>'|-', 4=>'\-', 5=>''); 55 * Set prefix part as used in getPrefix() and stored in $prefix. 57 * @param $value new prefix string for specified part. 65 $this->prefix[$part] = (string)$value; 75 $tree .= $this->getSubIterator($level)->hasNext() ? $this->prefix[1] : $this->prefix[2]; 77 $tree .= $this->getSubIterator($level)->hasNext() ? $this->prefix[3] : $this->prefix[4]; 79 return $this->prefix[0] . $tree . $this->prefix[5];
|
/PHP-7.1/scripts/ |
H A D | php-config.in | 4 prefix="@prefix@" 46 --prefix) 47 echo $prefix;; 74 --prefix [$prefix]
|