/PHP-8.1/ext/simplexml/tests/ |
H A D | bug41867.phpt | 8 $a = simplexml_load_string("<a><b><c/></b></a>"); 10 echo $a->b->getName()."\n"; 11 echo $a->b->c->getName()."\n"; 15 b
|
/PHP-8.1/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 | flexible-heredoc-complex-test1.phpt | 7 $a = 'b'; 8 ${"b\nb\n d"} = 'b'; 13 b 26 b
|
H A D | flexible-heredoc-complex-test2.phpt | 7 $a = 'b'; 8 ${"b\nb\n d"} = 'b'; 13 b 26 b
|
/PHP-8.1/Zend/tests/named_params/ |
H A D | runtime_cache_init.phpt | 7 public static function method($a = FOO, $b = 1) { 8 echo "a = $a, b = $b\n"; 13 call_user_func(['Test', 'method'], b: 0); 17 a = 42, b = 0
|
/PHP-8.1/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 | foreachLoopObjects.002.phpt | 8 public $b = "Original b"; 63 public $b = "Overridden b"; 182 ["b"]=> 203 ["b"]=> 228 ["b"]=> 257 ["b"]=> 278 ["b"]=> 303 ["b"]=> 332 ["b"]=> 349 ["b"]=> [all …]
|
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 ";
|
/PHP-8.1/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-8.1/Zend/tests/generators/ |
H A D | bug76427.phpt | 10 $b = new stdclass(); 11 $a->b = $b; 12 $b->a = $a; 16 unset($b);
|
/PHP-8.1/ext/standard/tests/array/ |
H A D | array_shift_variation8.phpt | 20 $b =& array_shift($array); 21 $b = 2; 22 echo "a = $a, b = $b\n"; 28 $b =& $array[0]; 30 $b = 2; 31 echo "a = $a, b = $b\n"; 41 a = 1, b = 2 44 a = 2, b = 2
|
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 | 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"]=>
|
/PHP-8.1/ext/phar/tests/ |
H A D | phar_oo_compressallbz2.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)); 52 string(1) "b" 59 string(1) "b"
|
H A D | 019b.phpt | 17 $files['b/a'] = 'b'; 18 $files['b/c/d'] = 'c'; 51 string(2) "/b" 53 string(12) "phar://hio/b" 54 string(4) "/b/a" 56 string(4) "/b/c" 58 string(14) "phar://hio/b/c" 59 string(6) "/b/c/d"
|
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 | 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
|
/PHP-8.1/ext/opcache/tests/jit/ |
H A D | identical_002.phpt | 22 $b = 0.0; 25 var_dump($a === $b); 28 var_dump($a !== $b); 31 var_dump($a === $b ? 1 : 0); 34 var_dump($a !== $b ? 1 : 0); 37 if ($a === $b) { 46 if ($a !== $b) { 55 if ($a === $b) { 67 if ($a !== $b) { 79 var_dump($a === $b && t()); [all …]
|
H A D | cmp_002.phpt | 14 $b = 0.0; 15 var_dump($a < $b ? 1 : 0); 16 var_dump($a > $b ? 1 : 0); 17 var_dump($a <= $b ? 1 : 0); 18 var_dump($a >= $b ? 1 : 0);
|
/PHP-8.1/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-8.1/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-8.1/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-8.1/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
|