Home
last modified time | relevance | path

Searched refs:b (Results 176 – 200 of 2474) sorted by relevance

12345678910>>...99

/PHP-8.1/ext/simplexml/tests/
H A Dbug41867.phpt8 $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 Dlist_002.phpt9 $b =& $a;
11 list($a, list($b)) = array($a, array($b));
12 var_dump($a, $b, $a === $b);
H A Dobject-null.phpt10 $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 Dflexible-heredoc-complex-test1.phpt7 $a = 'b';
8 ${"b\nb\n d"} = 'b';
13 b
26 b
H A Dflexible-heredoc-complex-test2.phpt7 $a = 'b';
8 ${"b\nb\n d"} = 'b';
13 b
26 b
/PHP-8.1/Zend/tests/named_params/
H A Druntime_cache_init.phpt7 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 DpassByReference_008.phpt24 $b = 'original.b';
25 refVal($b, $b);
26 var_dump($b);
36 string(10) "original.b"
37 string(10) "original.b"
H A DforeachLoopObjects.002.phpt8 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 D007.phpt11 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 Dstrspn.phpt6 $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 Dstrcspn.phpt6 $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 Dbug76427.phpt10 $b = new stdclass();
11 $a->b = $b;
12 $b->a = $a;
16 unset($b);
/PHP-8.1/ext/standard/tests/array/
H A Darray_shift_variation8.phpt20 $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 Dbug29493.phpt10 $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 Dcompact_basic.phpt12 $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 Dphar_oo_compressallbz2.phpt17 $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 D019b.phpt17 $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 Dopen_for_write_existing_c.phpt16 $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 Dopen_for_write_existing_b.phpt16 $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 Didentical_002.phpt22 $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 Dcmp_002.phpt14 $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 Dunpack_string_keys_compile_time.phpt6 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 Drequest47456.phpt8 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 Dbug70423.phpt28 $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 Dphar_oo_test.inc18 $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

Completed in 25 milliseconds

12345678910>>...99