Home
last modified time | relevance | path

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

12345678910>>...86

/PHP-7.4/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;
49 $b = $a->b = array('original');
57 $b = $a->b->c = array('original');
65 $b = $a->b[0] = array('original');
73 $b = $a->b[0][0] = array('original');
81 $b = $a->b[0]->c = array('original');
112 $b = C::$a[0]->b;
117 unset(C::$a[0]->b, $b);
150 $a->b
158 $a->b->c
[all …]
/PHP-7.4/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-7.4/ext/xmlrpc/libxmlrpc/
H A Dbase64.c25 b->data = emalloc(sizeof(char)*(b->length)); in buffer_new()
26 b->data[0] = 0; in buffer_new()
27 b->ptr = b->data; in buffer_new()
28 b->offset = 0; in buffer_new()
37 b->offset++; in buffer_add()
38 if (b->offset == b->length) { in buffer_add()
40 b->data = erealloc(b->data, b->length); in buffer_add()
41 b->ptr = b->data + b->offset; in buffer_add()
179 o[0] = (b[0] << 2) | (b[1] >> 4); in base64_decode_xmlrpc()
180 o[1] = (b[1] << 4) | (b[2] >> 2); in base64_decode_xmlrpc()
[all …]
/PHP-7.4/ext/spl/tests/
H A Dbug61347.phpt6 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(array_key_exists('b', $b)); //true
16 var_dump($b['b']);
19 $b = new ArrayObject($a);
20 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 …]
H A DArrayObject_sort_different_backing_storage.phpt6 $obj = (object)['a' => 2, 'b' => 1];
8 $ao->uasort(function($a, $b) { return $a <=> $b; });
12 $ao2->uasort(function($a, $b) { return $b <=> $a; });
18 $ao3->b = 1;
19 $ao3->uasort(function($a, $b) { return $a <=> $b; });
23 $ao4->uasort(function($a, $b) { return $a <=> $b; });
27 $ao5->uasort(function($a, $b) { return $a <=> $b; });
35 ["b"]=>
48 ["b"]=>
54 ["b"]=>
[all …]
/PHP-7.4/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-7.4/ext/standard/tests/serialize/
H A Dserialization_objects_013.phpt25 $uobj->b = "obj->b.changed";
99 ["b"]=>
108 ["b"]=>
116 ["b"]=>
124 ["b"]=>
132 ["b"]=>
147 ["b"]=>
156 ["b"]=>
164 ["b"]=>
172 ["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 …]
H A Dserialization_objects_014.phpt25 $uobj->b = "obj->b.changed";
78 ["b"]=>
87 ["b"]=>
95 ["b"]=>
103 ["b"]=>
111 ["b"]=>
122 ["b"]=>
131 ["b"]=>
139 ["b"]=>
147 ["b"]=>
[all …]
/PHP-7.4/ext/fileinfo/tests/
H A Dbug68996.phpt18 <b>Warning</b>: : failed to open stream: No such file or directory in <b>%sbug68996.php</b> on lin…
20 <b>Warning</b>: : failed to open stream: No such file or directory in <b>%sbug68996.php</b> on lin…
22 <b>Warning</b>: finfo_open(): Failed to load magic database at '%s�c'. in <b>%sbug68996.php</b> on…
/PHP-7.4/ext/gd/libgd/
H A Dgd_intern.h4 #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-7.4/ext/standard/
H A Dsha1.c134 #define FF(a, b, c, d, e, w) { \ argument
137 (b) = ROTATE_LEFT((b), 30); \
139 #define GG(a, b, c, d, e, w) { \ argument
142 (b) = ROTATE_LEFT((b), 30); \
144 #define HH(a, b, c, d, e, w) { \ argument
147 (b) = ROTATE_LEFT((b), 30); \
149 #define II(a, b, c, d, e, w) { \ argument
152 (b) = ROTATE_LEFT((b), 30); \
264 FF(a, b, c, d, e, x[0]); /* 1 */
265 FF(e, a, b, c, d, x[1]); /* 2 */
[all …]
H A Dmd5.c159 (a) += (b);
193 uint32_t a, b, c, d; in body() local
199 b = ctx->b; in body()
205 saved_b = b; in body()
282 b += saved_b; in body()
290 ctx->b = b; in body()
300 ctx->b = 0xefcdab89; in PHP_MD5Init()
378 result[4] = ctx->b; in PHP_MD5Final()
379 result[5] = ctx->b >> 8; in PHP_MD5Final()
380 result[6] = ctx->b >> 16; in PHP_MD5Final()
[all …]
H A Dstrnatcmp.c43 for(;; (*a)++, (*b)++) { in compare_right()
45 (*b == bend || !isdigit((int)(unsigned char)**b))) in compare_right()
49 else if (*b == bend || !isdigit((int)(unsigned char)**b)) in compare_right()
51 else if (**a < **b) { in compare_right()
54 } else if (**a > **b) { in compare_right()
73 (*b == bend || !isdigit((int)(unsigned char)**b))) in compare_left()
77 else if (*b == bend || !isdigit((int)(unsigned char)**b)) in compare_left()
79 else if (**a < **b) in compare_left()
81 else if (**a > **b) in compare_left()
96 *bend = b + b_len; in strnatcmp_ex()
[all …]
/PHP-7.4/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-7.4/ext/hash/
H A Dhash_md.c244 (a) += (b); \
249 (a) += (b); \
254 (a) += (b); \
259 (a) += (b); \
433 state[1] += b;
452 #define MD4_R1(a,b,c,d,k,s) a = ROTL32(s, a + MD4_F(b,c,d) + x[k]) argument
463 MD4_R1(a,b,c,d, 0, 3); in MD4Transform()
464 MD4_R1(d,a,b,c, 1, 7); in MD4Transform()
465 MD4_R1(c,d,a,b, 2,11); in MD4Transform()
466 MD4_R1(b,c,d,a, 3,19); in MD4Transform()
[all …]
/PHP-7.4/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-7.4/ext/standard/tests/array/
H A D008.phpt11 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 …]
H A Dbug28739.phpt9 function a(&$a, &$b){var_dump(__FUNCTION__);return $a->x - $b->x;}
10 function b(&$a, &$b){var_dump(__FUNCTION__);return $a->x - $b->x;}
42 string(1) "b"
43 string(1) "b"
44 string(1) "b"
45 string(1) "b"
46 string(1) "b"
47 string(1) "b"
48 string(1) "b"
49 string(1) "b"
[all …]
H A Dbug25708.phpt21 $b = NULL;
24 debug_zval_dump($a, $b, $GLOBALS['a'], $GLOBALS['b']);
28 $b = &$GLOBALS['b'];
32 debug_zval_dump($a, $b, $GLOBALS['a'], $GLOBALS['b']);
35 $b = &$GLOBALS['b'];
36 debug_zval_dump($a, $b, $GLOBALS['a'], $GLOBALS['b']);
44 $c = $b;
45 debug_zval_dump($b, $GLOBALS['b'], $c);
47 $b = 'x';
58 $b = 'ok';
[all …]
/PHP-7.4/ext/pcntl/tests/
H A Dbug72154.phpt7 $b = 666;
8 var_dump($b);
9 $c = &$b;
10 $var5 = pcntl_wait($b,0,$c);
11 unset($b);
13 $b = 666;
14 var_dump($b);
15 $c = &$b;
16 $var5 = pcntl_waitpid(0,$b,0,$c);
17 unset($b);

Completed in 84 milliseconds

12345678910>>...86