/PHP-8.0/tests/lang/ |
H A D | 025.phpt | 21 b 10 23 b 10 25 b 10 27 b 10 29 b 10 31 b 10 33 b 10 35 b 10 37 b 10 39 b 10 [all …]
|
H A D | foreachLoop.016.phpt | 25 $b = $$a; 50 $b = $a->b = array('original'); 60 $b = $a->b->c = array('original'); 69 $b = $a->b[0] = array('original'); 78 $b = $a->b[0][0] = array('original'); 88 $b = $a->b[0]->c = array('original'); 120 $b = C::$a[0]->b; 125 unset(C::$a[0]->b, $b); 158 $a->b 164 $a->b->c [all …]
|
/PHP-8.0/ext/fileinfo/libmagic/ |
H A D | buffer.c | 47 b->fd = fd; in buffer_init() 49 memcpy(&b->st, st, sizeof(b->st)); in buffer_init() 50 else if (b->fd == -1 || zend_fstat(b->fd, &b->st) == -1) in buffer_init() 51 memset(&b->st, 0, sizeof(b->st)); in buffer_init() 54 b->eoff = 0; in buffer_init() 56 b->elen = 0; in buffer_init() 76 b->elen = CAST(size_t, b->st.st_size) < b->flen ? in buffer_fill() 77 CAST(size_t, b->st.st_size) : b->flen; in buffer_fill() 78 if ((b->ebuf = emalloc(b->elen)) == NULL) in buffer_fill() 81 b->eoff = b->st.st_size - b->elen; in buffer_fill() [all …]
|
/PHP-8.0/ext/opcache/tests/jit/ |
H A D | cmp_003.phpt | 23 $b = NAN; 38 if ($a == $b) { 42 if ($a != $b) { 46 if ($a < $b) { 50 if ($a > $b) { 54 if ($a <= $b) { 58 if ($a >= $b) { 68 if ($i == $b) { 72 if ($i != $b) { 76 if ($i < $b) { [all …]
|
H A D | assign_050.phpt | 12 $b = $a; 13 $b =! $a = $a + $b & $b & $b = $b = $a = $a + $b & $a += $a; 14 $b = $b = $a = $a + $b & $b & $b = $a = $a + $b = $b = $a = $a + $b = $a += $a;
|
/PHP-8.0/Zend/tests/named_params/ |
H A D | unpack.phpt | 7 echo "a = $a, b = $b, c = $c\n"; 14 test(...['a' => 'a', 'b' => 'b', 'c' => 'c']); 15 test(...['c' => 'c', 'b' => 'b', 'a' => 'a']); 16 test(...['a', 'b' => 'b', 'c' => 'c']); 19 test(...['a', 'b' => 'b', 'c']); 58 a = a, b = b, c = c 59 a = a, b = b, c = c 60 a = a, b = b, c = c 71 a = a, b = b, c = c 72 a = a, b = b, c = c [all …]
|
H A D | __invoke.phpt | 7 public function __invoke($a = 'a', $b = 'b') { 8 echo "a: $a, b: $b\n"; 14 echo "a: $a, b: $b\n"; 34 $test3 = function($a = 'a', $b = 'b') { 35 echo "a: $a, b: $b\n"; 47 a: A, b: B 48 a: a, b: B 51 a: A, b: B 56 a: a, b: B 62 a: A, b: B [all …]
|
H A D | defaults.phpt | 6 function test1($a = 'a', $b = 'b') { 7 echo "a: $a, b: $b\n"; 10 function test2($a = SOME_CONST, $b = 'b') { 11 echo "a: $a, b: $b\n"; 14 function test3($a = SOME_OTHER_CONST, $b = 'b') { 15 echo "a: $a, b: $b\n"; 18 test1(b: 'B'); 21 test2(b: 'B'); 24 test3(b: 'B'); 28 a: a, b: B [all …]
|
H A D | call_user_func.phpt | 72 a = A, b = b, c = C 73 a = A, b = b, c = C 74 a = a, b = b, c = C 83 a = a, b = b, c = D 94 a = A, b = b, c = C 101 a = A, b = b, c = C 109 a = A, b = b, c = C 110 a = A, b = b, c = C 111 a = A, b = b, c = C 112 a = A, b = b, c = C [all …]
|
H A D | basic.phpt | 7 echo "a=$a, b=$b, c=$c, d=$d, e=$e\n"; 11 echo "a=$a, b=$b, c=$c, d=$d, e=$e\n"; 35 test(e: $e, a: $a, d: $d, b: $b, c: $c); 36 test(a: $a, b: $b, c: $c, e: $e); 41 test2(e: $e, a: $a, d: $d, b: $b, c: $c); 42 test2(a: $a, b: $b, c: $c, e: $e); 59 test3(e: $e, a: $a, d: $d, b: $b, c: $c); 60 test3(a: $a, b: $b, c: $c, e: $e); 63 echo "a=$a, b=$b, c=$c, d=$d, e=$e\n"; 67 echo "a=$a, b=$b, c=$c, d=$d, e=$e\n"; [all …]
|
H A D | __call.phpt | 15 private function _method($a = 'a', $b = 'b') { 16 echo "a: $a, b: $b\n"; 24 $test->method(b: 'B'); 27 Test::method(b: 'B'); 28 Test::method(b: $obj); 32 a: A, b: B 33 a: a, b: B 34 a: a, b: STR 35 a: A, b: B 36 a: a, b: B [all …]
|
/PHP-8.0/ext/spl/tests/ |
H A D | bug61347.phpt | 5 $a = array('b' => NULL, 37 => NULL); 6 var_dump(isset($a['b'])); //false 8 $b = new ArrayObject($a); 9 var_dump(isset($b['b'])); //false 10 var_dump(isset($b[37])); //false 12 var_dump(empty($b['b'])); //true 13 var_dump(empty($b[37])); //true 15 var_dump($b['b']); 18 $b = new ArrayObject($a); 19 var_dump(isset($b['b'])); //true [all …]
|
H A D | bug36941.phpt | 9 $b = clone $a; 11 var_dump($a[0], $b[0]); 12 $b[0] = $b[0] + 1; 13 var_dump($a[0], $b[0]); 14 $b[0] = 3; 15 var_dump($a[0], $b[0]); 22 $b = clone $a; 24 var_dump($a[0], $b[0]); 25 $b[0] = $b[0] + 1; 26 var_dump($a[0], $b[0]); [all …]
|
/PHP-8.0/Zend/tests/ |
H A D | list_self_assign.phpt | 7 list($a, $b, $c) = $a; 8 var_dump($a, $b, $c); 10 $b = [1, 2, 3]; 11 list($a, $b, $c) = $b; 12 var_dump($a, $b, $c); 16 var_dump($a, $b, $c); 20 var_dump($a, $b, $c); 22 $b = [[1, 2], 3]; 23 list(list($a, $b), $c) = $b; 26 $b = [1, [2, 3]]; [all …]
|
H A D | list_keyed_evaluation_order_2.phpt | 8 list($a, $b) = ['a', 'b']; 10 var_dump($b); 12 list(0 => $a, 1 => $b) = ['a', 'b']; 14 var_dump($b); 16 list(1 => $b, 0 => $a) = ['a', 'b']; 18 var_dump($b); 52 $b = 1; 60 string(1) "b" 62 string(1) "b" 64 string(1) "b" [all …]
|
H A D | bug74053.phpt | 5 class b { 17 self::$b = new b; 25 b::destruct 27 b::destruct 29 b::destruct 31 b::destruct 33 b::destruct 35 b::destruct 37 b::destruct 39 b::destruct [all …]
|
/PHP-8.0/ext/standard/tests/serialize/ |
H A D | serialization_objects_013.phpt | 14 $uobj->b = "obj->b.changed"; 22 $obj->b = 1; 31 $obj->b = 1; 88 ["b"]=> 97 ["b"]=> 105 ["b"]=> 113 ["b"]=> 121 ["b"]=> 136 ["b"]=> 145 ["b"]=> [all …]
|
H A D | serialization_objects_014.phpt | 14 $uobj->b = "obj->b.changed"; 24 $obj->b = 1; 67 ["b"]=> 76 ["b"]=> 84 ["b"]=> 92 ["b"]=> 100 ["b"]=> 111 ["b"]=> 120 ["b"]=> 128 ["b"]=> [all …]
|
H A D | serialization_objects_015.phpt | 15 $uobj->b = "obj->b.changed"; 25 $obj->b = 1; 76 ["b"]=> 85 ["b"]=> 93 ["b"]=> 101 ["b"]=> 109 ["b"]=> 120 ["b"]=> 129 ["b"]=> 137 ["b"]=> [all …]
|
/PHP-8.0/ext/fileinfo/tests/ |
H A D | bug68996.phpt | 13 <b>Warning</b>: finfo_open(%s�c): Failed to open stream: No such file or directory in <b>%sbug6899… 15 <b>Warning</b>: finfo_open(%s�c): Failed to open stream: No such file or directory in <b>%sbug6899… 17 <b>Warning</b>: finfo_open(): Failed to load magic database at "%s�c" in <b>%s</b> on li…
|
/PHP-8.0/ext/gd/libgd/ |
H A D | gd_intern.h | 4 #define MIN(a,b) ((a)<(b)?(a):(b)) argument 6 #define MIN3(a,b,c) ((a)<(b)?(MIN(a,c)):(MIN(b,c))) argument 8 #define MAX(a,b) ((a)<(b)?(b):(a)) argument 10 #define MAX3(a,b,c) ((a)<(b)?(MAX(b,c)):(MAX(a,c))) argument
|
/PHP-8.0/ext/standard/ |
H A D | sha1.c | 130 #define FF(a, b, c, d, e, w) { \ argument 133 (b) = ROTATE_LEFT((b), 30); \ 135 #define GG(a, b, c, d, e, w) { \ argument 138 (b) = ROTATE_LEFT((b), 30); \ 140 #define HH(a, b, c, d, e, w) { \ argument 143 (b) = ROTATE_LEFT((b), 30); \ 145 #define II(a, b, c, d, e, w) { \ argument 148 (b) = ROTATE_LEFT((b), 30); \ 260 FF(a, b, c, d, e, x[0]); /* 1 */ 261 FF(e, a, b, c, d, x[1]); /* 2 */ [all …]
|
/PHP-8.0/ext/ffi/tests/ |
H A D | 022.phpt | 21 test_size(8, "struct {uint32_t a; uint32_t b;}"); 22 test_size(3, "struct {char a; uint8_t b; uint8_t c;}"); 23 test_size(8, "struct {char a; uint32_t b;}"); 24 test_size(8, "struct {uint32_t a; char b;}"); 28 test_size(16, "struct {uint32_t a; uint32_t b;}[2]"); 30 test_size(16, "struct {char a; uint32_t b;}[2]"); 31 test_size(16, "struct {uint32_t a; char b;}[2]"); 35 test_align(4, "union {uint32_t a; uint32_t b;}"); 36 test_align(1, "union {char a; uint8_t b; uint8_t c;}"); 37 test_align(4, "union {char a; uint32_t b;}"); [all …]
|
/PHP-8.0/ext/mbstring/tests/ |
H A D | bug26639.phpt | 8 $b = $a; 13 unset($b); 16 $b = &$a; 21 unset($b); 25 $c = $b; 30 unset($b); 35 $c = $b; 45 $c = &$b; 55 $c = &$b; 64 $b = $a; [all …]
|
/PHP-8.0/ext/standard/tests/array/ |
H A D | 008.phpt | 11 echo '$b='.var_export($b,TRUE).";\n"; 29 'b'=>'some', 47 $b = array( 68 echo '$b='.var_export($b,TRUE).";\n"; 107 $b=array ( 155 array_intersect($a,$b); 214 'b' => 'some', 231 $b=array ( 255 ["b"]=> 273 array_intersect($a,$b); [all …]
|