/php-src/Zend/tests/array_unpack/ |
H A D | unpack_string_keys_compile_time.phpt | 6 var_dump([...['a' => 'b']]); 7 var_dump(['a' => 'X', ...['a' => 'b']]); 8 var_dump([...['a' => 'b'], 'a' => 'X']); 14 string(1) "b" 18 string(1) "b"
|
/php-src/ext/standard/tests/array/ |
H A D | compact_basic.phpt | 12 $b=0.2; 19 var_dump (compact(array("a", "b", "c", "d", "e", "f"))); 21 var_dump (compact("a", "b", "c", "d", "e", "f")); 22 var_dump (compact(array("keyval"=>"a", "b"=>"b"))); 32 ["b"]=> 49 ["b"]=> 66 ["b"]=>
|
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
|
H A D | array_diff_assoc_variation8.phpt | 14 $array_index = array('a', 'b', 'c', 0 => 'd', 'b'); //duplicate key (0), duplicate value (b) 16 '1' => 'b', 18 'b' => '3', //key and value from array_index swapped 32 string(1) "b" 37 ["b"]=>
|
/php-src/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"
|
H A D | preg_replace_callback_flags.phpt | 21 var_dump(preg_replace_callback('/(a)|(b)/', function($matches) { 28 ['/(a)|(b)/' => function($matches) { 51 string(1) "b" 80 string(1) "b" 106 string(1) "b" 110 string(1) "b" 124 string(1) "b" 128 string(1) "b"
|
/php-src/ext/opcache/tests/ |
H A D | bug70423.phpt | 28 $b = 1; 29 $fn1 = function() use (&$b) {echo "$b\n"; $b++;}; 30 $fn2 = function() use (&$b) {echo "$b\n"; $b++;}; 31 $b = 5;
|
/php-src/ext/phar/tests/ |
H A D | open_for_write_existing_b.phpt | 16 $files['b.php'] = '<?php echo "This is b\n"; ?>'; 17 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 20 var_dump(fopen($pname . '/b/c.php', 'wb')); 21 include $pname . '/b/c.php'; 26 Warning: fopen(phar://%sopen_for_write_existing_b.phar.php/b/c.php): Failed to open stream: phar er… 28 This is b/c
|
H A D | open_for_write_existing_c.phpt | 16 $files['b.php'] = '<?php echo "This is b\n"; ?>'; 17 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 20 var_dump(fopen($pname . '/b/c.php', 'wb')); 21 include $pname . '/b/c.php'; 26 Warning: fopen(phar://%sopen_for_write_existing_c.phar.php/b/c.php): Failed to open stream: phar er… 28 This is b/c
|
H A D | phar_oo_compressallgz.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)); 55 string(1) "b" 62 string(1) "b"
|
H A D | phar_oo_compressed_002.phpt | 17 $files['b'] = 'b'; 26 var_dump(file_get_contents($pname . '/b')); 27 var_dump($phar['b']->isCompressed()); 33 file_put_contents($pname . '/b', 'new b'); 41 var_dump(file_get_contents($pname . '/b')); 42 var_dump($phar['b']->isCompressed()); 58 string(1) "b" 64 string(5) "new b"
|
H A D | phar_oo_compressed_002b.phpt | 17 $files['b'] = 'b'; 26 var_dump(file_get_contents($pname . '/b')); 27 var_dump($phar['b']->isCompressed()); 33 file_put_contents($pname . '/b', 'new b'); 41 var_dump(file_get_contents($pname . '/b')); 42 var_dump($phar['b']->isCompressed()); 58 string(1) "b" 64 string(5) "new b"
|
H A D | cached_manifest_1.phpt | 10 var_dump(file_get_contents($pname . '/b/c.php')); 12 while (false !== ($b = readdir($a))) { 13 var_dump($b); 18 var_dump(is_dir($pname . '/b')); 20 var_dump(is_dir($pname . '/b/c.php')); 23 string(131) "<?php echo "in b\n";$a = fopen("index.php", "r", true);echo stream_get_contents($a);fc… 24 string(1) "b" 28 string(%d) "phar://%snophar.phar/b%cc.php"
|
/php-src/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-src/ext/opcache/tests/jit/ |
H A D | cmp_001.phpt | 13 $b = 0.0; 14 var_dump($a < $b); 15 var_dump($a > $b); 16 var_dump($a <= $b); 17 var_dump($a >= $b);
|
H A D | assign_046.phpt | 14 $a = $a + $a = +$a = $b; 22 Warning: Undefined variable $b in %sassign_046.php on line 6 25 Warning: Undefined variable $b in %sassign_046.php on line 6 28 Warning: Undefined variable $b in %sassign_046.php on line 6 31 Warning: Undefined variable $b in %sassign_046.php on line 6 34 Warning: Undefined variable $b in %sassign_046.php on line 6 37 Warning: Undefined variable $b in %sassign_046.php on line 6
|
/php-src/tests/lang/ |
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-src/ext/standard/tests/strings/ |
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));
|
H A D | bug22008.phpt | 12 <b>PHP!</b> 18 echo trim(strip_tags($html, '<b>'))."\n"; 24 <b>PHP!</b>
|
/php-src/ext/intl/tests/ |
H A D | resourcebundle_internal.phpt | 10 $b = new ResourceBundle('de_DE', 'ICUDATA-region'); 11 var_dump($b->get('Countries')->get('DE')); 13 $b = new ResourceBundle('icuver', 'ICUDATA'); 14 var_dump($b->get('ICUVersion') !== NULL); 16 $b = new ResourceBundle('supplementalData', 'ICUDATA', false); 17 var_dump($b->get('cldrVersion') !== NULL);
|
/php-src/Zend/tests/ |
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
|
H A D | objects_033.phpt | 18 class B extends A { public $b; } 19 $a = new B(); $a->a = 0; $a->b = 1; 20 $b = new B(); $b->a = 1; $b->b = 0; 22 var_dump($a < $b); 24 var_dump($a < $b);
|
/php-src/ext/filter/tests/ |
H A D | 011.phpt | 8 a=<b>test</b>&b=http://example.com 14 var_dump(filter_input(INPUT_GET, "b", FILTER_SANITIZE_URL)); 17 filter_input(INPUT_GET, "b", FILTER_VALIDATE_FLOAT, new stdClass); 29 string(27) "<b>test</b>"
|
/php-src/ext/phar/tests/files/ |
H A D | phar_oo_test.inc | 19 $files['b.php'] = '<?php echo "This is b.php\n"; ?>'; 20 $files['b/c.php'] = '<?php echo "This is b/c.php\n"; ?>'; 21 $files['b/d.php'] = '<?php echo "This is b/d.php\n"; ?>'; 27 2,a,b 34 2,a,b
|