Home
last modified time | relevance | path

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

12345678910>>...87

/php-src/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-src/ext/fileinfo/libmagic/
H A Dbuffer.c45 b->fd = fd; in buffer_init()
47 memcpy(&b->st, st, sizeof(b->st)); in buffer_init()
48 else if (b->fd == -1 || zend_fstat(b->fd, &b->st) == -1) in buffer_init()
49 memset(&b->st, 0, sizeof(b->st)); in buffer_init()
52 b->eoff = 0; in buffer_init()
54 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()
83 if ((b->ebuf = emalloc(b->elen)) == NULL) in buffer_fill()
86 b->eoff = b->st.st_size - b->elen; in buffer_fill()
[all …]
/php-src/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-src/ext/dom/tests/
H A Dgh13012.phpt9 $dom->loadXML("<root><x a='a' b='b'/><x b='b' a='a'/><x b='b' a='a' c='c'/></root>");
20 Comparing <x a="a" b="b"/> with <x a="a" b="b"/>
22 Comparing <x a="a" b="b"/> with <x b="b" a="a"/>
24 Comparing <x a="a" b="b"/> with <x b="b" a="a" c="c"/>
26 Comparing <x b="b" a="a"/> with <x a="a" b="b"/>
28 Comparing <x b="b" a="a"/> with <x b="b" a="a"/>
30 Comparing <x b="b" a="a"/> with <x b="b" a="a" c="c"/>
32 Comparing <x b="b" a="a" c="c"/> with <x a="a" b="b"/>
34 Comparing <x b="b" a="a" c="c"/> with <x b="b" a="a"/>
36 Comparing <x b="b" a="a" c="c"/> with <x b="b" a="a" c="c"/>
H A Dgh13012_ns.phpt9 $dom->loadXML("<root><x/><x xmlns:a=\"urn:a\" xmlns:b=\"urn:b\"/><x xmlns:b=\"urn:b\" xmlns:a=\"urn…
22 Comparing <x/> with <x xmlns:a="urn:a" xmlns:b="urn:b"/>
24 Comparing <x/> with <x xmlns:b="urn:b" xmlns:a="urn:a"/>
26 Comparing <x xmlns:a="urn:a" xmlns:b="urn:b"/> with <x/>
28 Comparing <x xmlns:a="urn:a" xmlns:b="urn:b"/> with <x xmlns:a="urn:a" xmlns:b="urn:b"/>
30 Comparing <x xmlns:a="urn:a" xmlns:b="urn:b"/> with <x xmlns:b="urn:b" xmlns:a="urn:a"/>
32 Comparing <x xmlns:b="urn:b" xmlns:a="urn:a"/> with <x/>
34 Comparing <x xmlns:b="urn:b" xmlns:a="urn:a"/> with <x xmlns:a="urn:a" xmlns:b="urn:b"/>
36 Comparing <x xmlns:b="urn:b" xmlns:a="urn:a"/> with <x xmlns:b="urn:b" xmlns:a="urn:a"/>
/php-src/ext/opcache/tests/jit/
H A Dcmp_003.phpt22 $b = NAN;
37 if ($a == $b) {
41 if ($a != $b) {
45 if ($a < $b) {
49 if ($a > $b) {
53 if ($a <= $b) {
57 if ($a >= $b) {
67 if ($i == $b) {
71 if ($i != $b) {
75 if ($i < $b) {
[all …]
H A Dassign_054.phpt11 $b = $a = $a + $b & $a += $a;
12 $b = $a = $a + $b & $b & $b = $a = $a + $b = $a = $a + $b = $a += $a;
13 $b = !$a = $a + $b & $b & $b = $b = $a = $a + $b & $a += $a;
14 $a + $b & $b & $b = $a = $a + $b = $a = $a + $b = $a += $a;
H A Dassign_050.phpt11 $b = $a;
12 $b =! $a = $a + $b & $b & $b = $b = $a = $a + $b & $a += $a;
13 $b = $b = $a = $a + $b & $b & $b = $a = $a + $b = $b = $a = $a + $b = $a += $a;
/php-src/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 …]
/php-src/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-src/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-src/Zend/tests/list/
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 …]
/php-src/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-src/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-src/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 …]
/php-src/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 …]

Completed in 39 milliseconds

12345678910>>...87