/PHP-8.1/ext/phar/tests/tar/ |
H A D | open_for_write_newfile_c.phpt | 20 $files['b.php'] = '<?php echo "This is b\n"; ?>'; 21 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 30 var_dump(fopen($alias . '/b/new.php', 'wb')); 31 include $alias . '/b/c.php'; 32 include $alias . '/b/new.php'; 39 Warning: fopen(phar://%sopen_for_write_newfile_c.phar.tar/b/new.php): Failed to open stream: phar e… 41 This is b/c 43 … include(phar://%sopen_for_write_newfile_c.phar.tar/b/new.php): Failed to open stream: phar error:… 45 Warning: include(): Failed opening 'phar://%sopen_for_write_newfile_c.phar.tar/b/new.php' for inclu…
|
H A D | open_for_write_newfile.phpt | 20 $files['b.php'] = '<?php echo "This is b\n"; ?>'; 21 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 29 $fp = fopen($alias . '/b/new.php', 'wb'); 33 include $alias . '/b/c.php'; 34 include $alias . '/b/new.php'; 41 This is b/c
|
/PHP-8.1/ext/phar/tests/zip/ |
H A D | open_for_write_newfile_c.phpt | 20 $files['b.php'] = '<?php echo "This is b\n"; ?>'; 21 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 30 var_dump(fopen($alias . '/b/new.php', 'wb')); 32 include $alias . '/b/c.php'; 33 include $alias . '/b/new.php'; 39 Warning: fopen(phar://%sopen_for_write_newfile_c.phar.zip/b/new.php): Failed to open stream: phar e… 41 This is b/c 43 … include(phar://%sopen_for_write_newfile_c.phar.zip/b/new.php): Failed to open stream: phar error:… 45 Warning: include(): Failed opening 'phar://%sopen_for_write_newfile_c.phar.zip/b/new.php' for inclu…
|
H A D | open_for_write_newfile_b.phpt | 20 $files['b.php'] = '<?php echo "This is b\n"; ?>'; 21 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 30 var_dump(fopen($alias . '/b/new.php', 'wb')); 32 include $alias . '/b/c.php'; 33 include $alias . '/b/new.php'; 39 Warning: fopen(phar://%sopen_for_write_newfile_b.phar.zip/b/new.php): Failed to open stream: phar e… 41 This is b/c 43 … include(phar://%sopen_for_write_newfile_b.phar.zip/b/new.php): Failed to open stream: phar error:… 45 Warning: include(): Failed opening 'phar://%sopen_for_write_newfile_b.phar.zip/b/new.php' for inclu…
|
H A D | phar_oo_compressallgz.phpt | 15 $phar['b'] = 'b'; 20 var_dump(file_get_contents($pname . '/b')); 21 var_dump($phar['b']->isCompressed()); 29 var_dump(file_get_contents($pname . '/b')); 30 var_dump($phar['b']->isCompressed(Phar::BZ2)); 31 var_dump($phar['b']->isCompressed(Phar::GZ)); 33 var_dump($phar['b']->isCompressed(Phar::BZ2)); 44 string(1) "b" 51 string(1) "b"
|
H A D | open_for_write_newfile.phpt | 20 $files['b.php'] = '<?php echo "This is b\n"; ?>'; 21 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 28 $fp = fopen($alias . '/b/new.php', 'wb'); 32 include $alias . '/b/c.php'; 33 include $alias . '/b/new.php'; 39 This is b/c
|
/PHP-8.1/ext/phar/tests/ |
H A D | phar_oo_uncompressall.phpt | 17 $files['b'] = 'b'; 26 var_dump(file_get_contents($pname . '/b')); 27 var_dump($phar['b']->isCompressed()); 36 var_dump(file_get_contents($pname . '/b')); 37 var_dump($phar['b']->isCompressed(Phar::GZ)); 38 var_dump($phar['b']->isCompressed(Phar::BZ2)); 41 var_dump($phar['b']->isCompressed(Phar::BZ2)); 46 var_dump(file_get_contents($pname . '/b')); 60 string(1) "b" 67 string(1) "b" [all …]
|
H A D | 019c.phpt | 17 $files['b/a'] = 'b'; 18 $files['b/c/d'] = 'c'; 56 string(2) "/b" 58 string(12) "phar://hio/b" 59 string(4) "/b/a" 61 string(1) "b" 62 string(4) "/b/c" 64 string(14) "phar://hio/b/c" 65 string(6) "/b/c/d"
|
H A D | open_for_write_newfile.phpt | 16 $files['b.php'] = '<?php echo "This is b\n"; ?>'; 17 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 20 $fp = fopen($pname . '/b/new.php', 'wb'); 23 include $pname . '/b/c.php'; 24 include $pname . '/b/new.php'; 30 This is b/c
|
H A D | 023.phpt | 15 $files['b.php'] = '<?php echo "This is b\n"; ?>'; 16 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 21 var_dump(file_get_contents($pname . '/b.php')); 22 var_dump(file_get_contents($pname . '/b/c.php')); 29 string(28) "<?php echo "This is b\n"; ?>" 30 string(30) "<?php echo "This is b/c\n"; ?>"
|
/PHP-8.1/Zend/tests/ |
H A D | inter_03.phpt | 7 const b = 2; 10 interface b extends a { 11 const c = self::b; 14 var_dump(b::c, a::b);
|
H A D | bug53958.phpt | 16 $b = 1; 17 $fn1 = function() use (&$b) {echo "$b\n"; $b++;}; 18 $fn2 = function() use (&$b) {echo "$b\n"; $b++;}; 19 $b = 5;
|
H A D | class_alias_001.phpt | 11 $b = new bar; 13 var_dump($a == $b, $a === $b); 14 var_dump($a instanceof $b); 19 var_dump($b instanceof foo); 20 var_dump($b instanceof bar);
|
H A D | foreach_temp_array_expr_with_refs.phpt | 7 $b = 'b'; 9 foreach ([&$a, &$b] as &$value) { 13 var_dump($a, $b); 18 string(5) "b-foo"
|
/PHP-8.1/tests/lang/ |
H A D | static_variation_001.phpt | 24 eval(' static $b = array(10,11,12); '); 27 eval(' static $b = array(1,2,3); '); 30 eval(' static $b = array(4,5,6); '); 31 var_dump($b); 34 eval('function g2b() { static $b = array(7, 8, 9); var_dump($b); } '); 35 var_dump($b); 41 var_dump($b);
|
/PHP-8.1/ext/standard/tests/array/ |
H A D | array_uintersect_uassoc_basic.phpt | 13 static function comp_func_cr($a, $b) { 14 if ($a->priv_member === $b->priv_member) return 0; 15 return ($a->priv_member > $b->priv_member) ? 1 : -1; 17 static function comp_func_key($a, $b) { 18 if ($a === $b) return 0; 19 return ($a > $b) ? 1 : -1; 23 $b = array("0.2" => new cr(9), "0.5" => new cr(22), 0 => new cr(3), 1 => new cr(4), 2 => new cr(-15… 24 $result = array_uintersect_uassoc($a, $b, array("cr", "comp_func_cr"), array("cr", "comp_func_key")…
|
H A D | array_merge_recursive_variation8.phpt | 12 $arr1 = array(b"1", b"hello" => "hello", b"world", "str1" => b"hello", "str2" => "world"); 15 $arr2 = array(b"str1" => b"binary", b"hello" => "binary", b"str2" => b"binary");
|
H A D | array_udiff_uassoc_basic.phpt | 13 static function comp_func_cr($a, $b) { 14 if ($a->priv_member === $b->priv_member) return 0; 15 return ($a->priv_member > $b->priv_member) ? 1 : -1; 17 static function comp_func_key($a, $b) { 18 if ($a === $b) return 0; 19 return ($a > $b) ? 1 : -1; 23 $b = array("0.2" => new cr(9), "0.5" => new cr(22), 0 => new cr(3), 1 => new cr(4), 2 => new cr(-15… 24 $result = array_udiff_uassoc($a, $b, array("cr", "comp_func_cr"), array("cr", "comp_func_key"));
|
/PHP-8.1/ext/simplexml/tests/ |
H A D | bug66084_0.phpt | 7 echo var_dump(simplexml_load_string('<a><b/><c><x/></c></a>')), "\n"; 8 echo var_dump(simplexml_load_string('<a><b/><d/><c><x/></c></a>')), "\n"; 9 echo var_dump(simplexml_load_string('<a><b/><c><d/><x/></c></a>')), "\n"; 10 echo var_dump(simplexml_load_string('<a><b/><c><d><x/></d></c></a>')), "\n"; 14 ["b"]=> 26 ["b"]=> 41 ["b"]=> 56 ["b"]=>
|
/PHP-8.1/ext/standard/tests/math/ |
H A D | floorceil.phpt | 5 $a = ceil (-0); $b = ceil (-1); $c = ceil (-1.5); 7 var_dump ($a, $b, $c, $d, $e); 9 $a = ceil (0); $b = ceil (0.5); $c = ceil (1); 11 var_dump ($a, $b, $c, $d, $e, $f); 13 $a = floor (-0); $b = floor (-0.5); $c = floor (-1); 15 var_dump ($a, $b, $c, $d, $e, $f); 17 $a = floor (0); $b = floor (0.5); $c = floor (1); 19 var_dump ($a, $b, $c, $d, $e, $f);
|
/PHP-8.1/tests/output/ |
H A D | bug74725.phpt | 13 <b>Fatal error</b>: Uncaught Exception: ���� in %s:5 16 thrown in <b>%s</b> on line <b>5</b><br />
|
H A D | bug75236.phpt | 17 <b>Warning</b>: file_get_contents(no/suchfile): Failed to open stream: No such file or directory i…
|
/PHP-8.1/ext/fileinfo/tests/ |
H A D | bug77961.magic | 6 >12 string OBJ_ \b, AOF object 7 >12 string LIB_ \b, ALF library 9 0 name mach-o \b [ 10 >0 use mach-o-cpu \b 11 >(8.L) indirect 8 \b: 12 >0 belong x \b] 16 >4 byte x \b%d 33 >>>>&0 der prt_str=x \b, countryName=%s 37 >>>>&0 der utf8_str=x \b, stateOrProvinceName=%s 41 >>>>&0 der utf8_str=x \b, organizationName=%s [all …]
|
/PHP-8.1/ext/standard/tests/strings/ |
H A D | strtolower.phpt | 75 0b => 0b 91 1b => 1b 107 2b => 2b 123 3b => 3b 139 4b => 6b 155 5b => 5b 171 6b => 6b 187 7b => 7b
|
H A D | strtoupper1.phpt | 75 0b => 0b 91 1b => 1b 107 2b => 2b 123 3b => 3b 139 4b => 4b 155 5b => 5b 171 6b => 4b 187 7b => 7b
|