/PHP-7.2/ext/intl/tests/ |
H A D | resourcebundle_internal.phpt | 7 $b = new ResourceBundle('de_DE', 'ICUDATA-region'); 8 var_dump($b->get('Countries')->get('DE')); 10 $b = new ResourceBundle('icuver', 'ICUDATA'); 11 var_dump($b->get('ICUVersion') !== NULL); 13 $b = new ResourceBundle('supplementalData', 'ICUDATA', false); 14 var_dump($b->get('cldrVersion') !== NULL);
|
/PHP-7.2/Zend/tests/bug67436/ |
H A D | bug67436_nohandler.phpt | 9 if (in_array($classname, array('a','b','c'))) { 16 $b = new b(); 17 $b->test(); 19 Warning: Declaration of b::test() should be compatible with a::test($arg = c::TESTCONSTANT) in %s%e… 20 b::test()
|
/PHP-7.2/ext/phar/tests/ |
H A D | 019c.phpt | 19 $files['b/a'] = 'b'; 20 $files['b/c/d'] = 'c'; 58 string(2) "/b" 60 string(12) "phar://hio/b" 61 string(4) "/b/a" 63 string(1) "b" 64 string(4) "/b/c" 66 string(14) "phar://hio/b/c" 67 string(6) "/b/c/d"
|
H A D | open_for_write_newfile_b.phpt | 18 $files['b.php'] = '<?php echo "This is b\n"; ?>'; 19 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 28 $fp = fopen($pname . '/b/new.php', 'wb'); 31 include $pname . '/b/c.php'; 32 include $pname . '/b/new.php'; 39 Warning: fopen(phar://%sopen_for_write_newfile_b.phar.php/b/new.php): failed to open stream: phar e… 44 This is b/c 46 … include(phar://%sopen_for_write_newfile_b.phar.php/b/new.php): failed to open stream: phar error:… 48 Warning: include(): Failed opening 'phar://%sopen_for_write_newfile_b.phar.php/b/new.php' for inclu…
|
/PHP-7.2/ext/standard/tests/array/ |
H A D | bug29493.phpt | 10 $b = $a; 13 $b['foo'] = 'bbb'; 17 var_dump($a, $b); 23 var_dump($a, $b); 31 $b = &$a; 35 $b['foo'] = 'bbb'; 39 var_dump($a, $b); 45 var_dump($a, $b); 53 $b = &$a; 57 unset($b);
|
H A D | array_udiff_uassoc_basic.phpt | 14 static function comp_func_cr($a, $b) { 15 if ($a->priv_member === $b->priv_member) return 0; 16 return ($a->priv_member > $b->priv_member) ? 1 : -1; 18 static function comp_func_key($a, $b) { 19 if ($a === $b) return 0; 20 return ($a > $b) ? 1 : -1; 24 $b = array("0.2" => new cr(9), "0.5" => new cr(22), 0 => new cr(3), 1 => new cr(4), 2 => new cr(-15… 25 $result = array_udiff_uassoc($a, $b, array("cr", "comp_func_cr"), array("cr", "comp_func_key"));
|
H A D | array_uintersect_uassoc_basic.phpt | 14 static function comp_func_cr($a, $b) { 15 if ($a->priv_member === $b->priv_member) return 0; 16 return ($a->priv_member > $b->priv_member) ? 1 : -1; 18 static function comp_func_key($a, $b) { 19 if ($a === $b) return 0; 20 return ($a > $b) ? 1 : -1; 24 $b = array("0.2" => new cr(9), "0.5" => new cr(22), 0 => new cr(3), 1 => new cr(4), 2 => new cr(-15… 25 $result = array_uintersect_uassoc($a, $b, array("cr", "comp_func_cr"), array("cr", "comp_func_key")…
|
H A D | bug28974.phpt | 5 $a = $b = $c = array(0,1,2,3,4,5); 16 echo 'print_r(array_splice($b,2,2147483645));'."\n"; 17 print_r(array_splice($b,2,2147483645)); 18 echo "\$b is :"; 19 print_r($b); 64 print_r(array_splice($b,2,2147483645)); 72 $b is :Array
|
/PHP-7.2/ext/phar/tests/zip/ |
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)); 45 string(1) "b" 52 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'; 40 This is b/c
|
H A D | open_for_write_newfile_c.phpt | 22 $files['b.php'] = '<?php echo "This is b\n"; ?>'; 23 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 32 $fp = fopen($alias . '/b/new.php', 'wb'); 36 include $alias . '/b/c.php'; 37 include $alias . '/b/new.php'; 44 Warning: fopen(phar://%sopen_for_write_newfile_c.phar.zip/b/new.php): failed to open stream: phar e… 49 This is b/c 51 … include(phar://%sopen_for_write_newfile_c.phar.zip/b/new.php): failed to open stream: phar error:… 53 Warning: include(): Failed opening 'phar://%sopen_for_write_newfile_c.phar.zip/b/new.php' for inclu…
|
/PHP-7.2/tests/lang/ |
H A D | passByReference_008.phpt | 24 $b = 'original.b'; 25 refVal($b, $b); 26 var_dump($b); 36 string(10) "original.b" 37 string(10) "original.b"
|
H A D | 007.phpt | 11 global $b; 13 $b = 5; 14 echo "$a $b "; 21 echo "$a $b $c "; 23 echo "$a $b $c ";
|
H A D | func_num_args.004.phpt | 28 $b = 'original.b'; 29 refVal($b, $b); 30 var_dump($b); 42 string(10) "original.b" 43 string(10) "original.b"
|
/PHP-7.2/Zend/tests/ |
H A D | list_002.phpt | 9 $b =& $a; 11 list($a, list($b)) = array($a, array($b)); 12 var_dump($a, $b, $a === $b);
|
H A D | object-null.phpt | 10 $b = new Bla; 12 var_dump($b != null); 13 var_dump($b == null); 14 var_dump($b !== null); 15 var_dump($b === null);
|
H A D | bug73916.phpt | 6 class b{}; 7 $b = new b; 9 $test[] =& $b; 16 #0 test(Array ([0] => Array ([0] => a),[1] => b Object ())) called at [%sbug73916.php:%d]
|
H A D | bug48215_2.phpt | 9 class b extends a {} 10 class c extends b { 12 b::b(); 19 Fatal error: Uncaught Error: Call to undefined method b::b() in %s:%d
|
/PHP-7.2/ext/standard/tests/strings/ |
H A D | strspn.phpt | 6 $b = "1234"; 8 var_dump($b); 9 var_dump(strspn($a,$b)); 10 var_dump(strspn($a,$b,2)); 11 var_dump(strspn($a,$b,2,3));
|
H A D | strcspn.phpt | 6 $b = "1234"; 8 var_dump($b); 9 var_dump(strcspn($a,$b)); 10 var_dump(strcspn($a,$b,9)); 11 var_dump(strcspn($a,$b,9,6));
|
/PHP-7.2/ext/pcre/tests/ |
H A D | request47456.phpt | 8 preg_match_all('/(?J)(?<chr>[ac])(?<num>\d)|(?<chr>[b])/', 'a1bc3', $m, PREG_SET_ORDER); 12 preg_match_all('/(?<chr>[ac])(?<num>\d)|(?<chr>[b])/J', 'a1bc3', $m, PREG_SET_ORDER); 33 string(1) "b" 35 string(1) "b" 43 string(1) "b" 76 string(1) "b" 78 string(1) "b" 86 string(1) "b"
|
/PHP-7.2/ext/phar/tests/cache_list/files/ |
H A D | phar_oo_test.inc | 18 $files['b.php'] = '<?php echo "This is b.php\n"; ?>'; 19 $files['b/c.php'] = '<?php echo "This is b/c.php\n"; ?>'; 20 $files['b/d.php'] = '<?php echo "This is b/d.php\n"; ?>'; 26 2,a,b 33 2,a,b
|
/PHP-7.2/ext/opcache/tests/ |
H A D | bug70423.phpt | 27 $b = 1; 28 $fn1 = function() use (&$b) {echo "$b\n"; $b++;}; 29 $fn2 = function() use (&$b) {echo "$b\n"; $b++;}; 30 $b = 5;
|
/PHP-7.2/ext/phar/tests/tar/ |
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'; 42 This is b/c
|
H A D | open_for_write_newfile_c.phpt | 22 $files['b.php'] = '<?php echo "This is b\n"; ?>'; 23 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 32 $fp = fopen($alias . '/b/new.php', 'wb'); 35 include $alias . '/b/c.php'; 36 include $alias . '/b/new.php'; 44 Warning: fopen(phar://%sopen_for_write_newfile_c.phar.tar/b/new.php): failed to open stream: phar e… 49 This is b/c 51 … include(phar://%sopen_for_write_newfile_c.phar.tar/b/new.php): failed to open stream: phar error:… 53 Warning: include(): Failed opening 'phar://%sopen_for_write_newfile_c.phar.tar/b/new.php' for inclu…
|