Home
last modified time | relevance | path

Searched refs:b (Results 1 – 25 of 2271) sorted by relevance

12345678910>>...91

/PHP-8.2/tests/lang/
H A D025.phpt21 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 DforeachLoop.016.phpt25 $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.2/ext/fileinfo/libmagic/
H A Dbuffer.c47 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.2/main/
H A Dphp_ini_builder.c26 memmove(b->value + length, b->value, b->length); in php_ini_builder_prepend()
35 memcpy(b->value + b->length, name, name_length); in php_ini_builder_unquoted()
38 b->value[b->length++] = '='; in php_ini_builder_unquoted()
43 b->value[b->length++] = '\n'; in php_ini_builder_unquoted()
50 memcpy(b->value + b->length, name, name_length); in php_ini_builder_quoted()
53 b->value[b->length++] = '='; in php_ini_builder_quoted()
54 b->value[b->length++] = '"'; in php_ini_builder_quoted()
59 b->value[b->length++] = '"'; in php_ini_builder_quoted()
60 b->value[b->length++] = '\n'; in php_ini_builder_quoted()
74 memcpy(b->value + b->length, arg, len); in php_ini_builder_define()
[all …]
H A Dphp_ini_builder.h33 static inline void php_ini_builder_init(struct php_ini_builder *b) in BEGIN_EXTERN_C()
35 b->value = NULL; in BEGIN_EXTERN_C()
36 b->length = 0; in BEGIN_EXTERN_C()
39 static inline void php_ini_builder_deinit(struct php_ini_builder *b) in php_ini_builder_deinit() argument
41 free(b->value); in php_ini_builder_deinit()
47 static inline char *php_ini_builder_finish(struct php_ini_builder *b) in php_ini_builder_finish() argument
49 if (b->value != NULL) { in php_ini_builder_finish()
51 b->value[b->length] = '\0'; in php_ini_builder_finish()
54 return b->value; in php_ini_builder_finish()
65 b->value = realloc(b->value, b->length + delta + 1); in php_ini_builder_realloc()
[all …]
/PHP-8.2/ext/opcache/tests/jit/
H A Dcmp_003.phpt23 $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 Dassign_054.phpt12 $b = $a = $a + $b & $a += $a;
13 $b = $a = $a + $b & $b & $b = $a = $a + $b = $a = $a + $b = $a += $a;
14 $b = !$a = $a + $b & $b & $b = $b = $a = $a + $b & $a += $a;
15 $a + $b & $b & $b = $a = $a + $b = $a = $a + $b = $a += $a;
H A Dassign_050.phpt12 $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.2/Zend/tests/named_params/
H A Dunpack.phpt7 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.phpt7 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 Dcall_user_func.phpt72 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 Ddefaults.phpt6 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 Dbasic.phpt7 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 …]
/PHP-8.2/ext/mbstring/tests/
H A Dbug26639.phpt8 $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.2/ext/spl/tests/
H A Dbug61347.phpt5 $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 Dbug36941.phpt9 $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.2/Zend/tests/
H A Dlist_self_assign.phpt7 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 Dlist_keyed_evaluation_order_2.phpt8 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 Dbug74053.phpt5 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.2/ext/standard/tests/serialize/
H A Dserialization_objects_013.phpt14 $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 Dserialization_objects_014.phpt14 $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 Dserialization_objects_015.phpt15 $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.2/ext/fileinfo/tests/
H A Dbug68996.phpt13 <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 &quot;%s�c&quot; in <b>%s</b> on li…
/PHP-8.2/ext/ffi/tests/
H A D022.phpt21 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.2/ext/standard/
H A Dsha1.c130 #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); \
259 FF(a, b, c, d, e, x[0]); /* 1 */ in SHA1Transform()
260 FF(e, a, b, c, d, x[1]); /* 2 */ in SHA1Transform()
[all …]

Completed in 50 milliseconds

12345678910>>...91