Home
last modified time | relevance | path

Searched refs:b (Results 26 – 50 of 2615) sorted by path

12345678910>>...105

/php-src/Zend/tests/
H A D001.phpt14 function test3($a, $b) {
H A D002.phpt38 function test3($a, $b) {
H A D003.phpt14 function test3($a, $b) {
H A D021.phpt11 $b = 0;
15 var_dump($a ?: $b);
H A D023.phpt7 $b = 'a';
8 print $$b('test');
30 $b = 'a';
31 var_dump($$b()->$$b()->$b());
35 $b = 'a';
36 $c = 'b';
H A D024.phpt9 var_dump($a + $b);
11 var_dump(++$b);
12 var_dump($a->$b);
13 var_dump($a->$b);
14 var_dump($a->$b->{$c[1]});
35 Warning: Undefined variable $b in %s on line %d
41 Warning: Undefined variable $b in %s on line %d
H A D025.phpt13 $b = 'a';
19 foo::$$b();
23 $class::$$b();
H A D027.phpt6 $a = 'b';
7 $b = 'c';
12 $a = 'b';
13 $b = 'c';
H A D029.phpt11 $arr[0]->b = new $arr[0];
33 ["b"]=>
44 ["b"]=>
H A Daccess_modifiers_010.phpt18 abstract class b extends a {
21 class c extends b {
H A Dadd_001.phpt7 $b = array("str", "here");
9 $c = $a + $b;
13 $b = array(1,2,4);
15 $c = $a + $b;
19 $b = array(1,2,"a"=>"bbbbbb");
21 $c = $a + $b;
24 $a += $b;
H A Darray_append_COW.phpt6 $b=1;
7 $c=&$b;
8 $a[]=$b;
9 $b=2;
H A Darray_unshift_COW.phpt6 $b=1;
7 $c=&$b;
8 array_unshift ($a,$b);
9 $b=2;
H A Dassign_coalesce_001.phpt23 $b = null;
24 $b ??= $foo;
25 var_dump($b);
H A Dassign_dim_op_undef.phpt5 $a[$b] += 1;
11 Warning: Undefined variable $b in %s on line %d
H A Dassign_obj_op_cache_slot.phpt6 $b = "x";
7 $a->$b = 1;
8 $a->$b &= 1;
9 var_dump($a->$b);
/php-src/Zend/tests/arg_unpack/
H A Dby_ref.phpt37 $a = $b = $c = $d = 0;
43 test2($a, $b, ...$array);
44 var_dump($a, $b, $array);
46 test2($a, $b, $c, ...$array);
47 var_dump($a, $b, $c, $array);
49 test2($a, $b, $c, $d, ...$array);
50 var_dump($a, $b, $c, $d, $array);
H A Dtraversable_with_by_ref_parameters.phpt16 test(1, 2, 3, $b, ...gen([4, 5, 6]));
17 var_dump($b);
/php-src/Zend/tests/array_unpack/
H A Dbasic.phpt22 var_dump([...new ArrayIterator(['a', 'b', 'c'])]);
67 string(1) "b"
H A Dgh9769.phpt7 const B = [...['a'=>1, 'b'=>2, 'c'=>3]];
H A Dref1.phpt7 $b = [&$a]; //array (0 => (refcount=2, is_ref=1)=1)
11 var_dump([...$b]); //array (0 => (refcount=0, is_ref=0)=1)
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-src/Zend/tests/arrow_functions/
H A D002.phpt6 $b = 1;
8 var_dump((fn() => $b + $c)());
/php-src/Zend/tests/assert/
H A Dexpect_015.phpt9 global $a, $$b;
13 $x = $a ? $b : $c;
15 $x = $a ?? $b;
150 $x = "{$a}b";
151 $x = "${a}b";
164 } elseif ($b) {
176 global $$b;
183 $x = $a ?? $b;
304 $x = "{$a}b";
305 $x = "{$a}b";
[all …]
/php-src/Zend/tests/attributes/
H A D001_placement.phpt16 public function foo(#[A1(5)] $a, #[A1(6)] $b) { }

Completed in 32 milliseconds

12345678910>>...105