Home
last modified time | relevance | path

Searched refs:b (Results 26 – 50 of 2474) sorted by relevance

12345678910>>...99

/PHP-8.1/Zend/tests/named_params/
H A D__call.phpt15 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.1/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);
/PHP-8.1/ext/standard/tests/array/
H A Dbug25708.phpt24 var_dump($a, $b, $GLOBALS['a'], $GLOBALS['b']);
28 $b = &$GLOBALS['b'];
32 var_dump($a, $b, $GLOBALS['a'], $GLOBALS['b']);
35 $b = &$GLOBALS['b'];
36 var_dump($a, $b, $GLOBALS['a'], $GLOBALS['b']);
39 var_dump($a, $b, $GLOBALS['a'], $GLOBALS['b']);
42 var_dump($a, $b, $GLOBALS['a'], $GLOBALS['b']);
44 $c = $b;
45 var_dump($b, $GLOBALS['b'], $c);
58 $b = 'ok';
[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 D007.phpt9 echo '$b='.var_export($b,TRUE).";\n";
15 'b'=>'some',
29 $b = array(
45 echo '$b='.var_export($b,TRUE).";\n";
83 echo '$b='.var_export($b,TRUE).";\n";
100 echo '$b='.var_export($b,TRUE).";\n";
106 echo '$b='.var_export($b,TRUE).";\n";
112 echo '$b='.var_export($b,TRUE).";\n";
118 echo '$b='.var_export($b,TRUE).";\n";
142 $b=array (
[all …]
/PHP-8.1/ext/dom/tests/
H A DDOMElement_append_hierarchy_test.phpt9 $dom_original->loadXML('<p><b>hello</b><b><i>world</i></b></p>');
68 string(39) "<p><b>hello<b><i>world</i></b></b></p>
71 string(39) "<p><b>hello<i>world</i></b><b></b></p>
74 string(39) "<p><b><i>world<b>hello</b></i></b></p>
78 string(39) "<p><b>hello</b><b><i>world</i></b></p>
82 string(39) "<p><b>hello</b><b><i>world</i></b></p>
88 string(39) "<p><b>hello</b><b><i>world</i></b></p>
H A DDOMElement_prepend_hierarchy_test.phpt9 $dom_original->loadXML('<p><b>hello</b><b><i>world</i></b></p>');
68 string(39) "<p><b><b><i>world</i></b>hello</b></p>
71 string(39) "<p><b><i>world</i>hello</b><b></b></p>
74 string(39) "<p><b><i><b>hello</b>world</i></b></p>
78 string(39) "<p><b>hello</b><b><i>world</i></b></p>
82 string(39) "<p><b>hello</b><b><i>world</i></b></p>
88 string(39) "<p><b>hello</b><b><i>world</i></b></p>
/PHP-8.1/ext/spl/tests/
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 …]
H A Dobserver_007.phpt6 $b = new SplObjectStorage;
7 var_dump($a == $b);
8 $b[$b] = 2;
9 var_dump($a == $b);
10 $a[$b] = 2;
11 var_dump($a == $b);
12 $a[$b] = 3;
13 var_dump($a == $b);
/PHP-8.1/ext/standard/
H A Dstrnatcmp.c42 for(;; (*a)++, (*b)++) { in compare_right()
44 (*b == bend || !isdigit((int)(unsigned char)**b))) in compare_right()
48 else if (*b == bend || !isdigit((int)(unsigned char)**b)) in compare_right()
50 else if (**a < **b) { in compare_right()
53 } else if (**a > **b) { in compare_right()
71 (*b == bend || !isdigit((int)(unsigned char)**b))) in compare_left()
75 else if (*b == bend || !isdigit((int)(unsigned char)**b)) in compare_left()
77 else if (**a < **b) in compare_left()
79 else if (**a > **b) in compare_left()
93 *bend = b + b_len; in strnatcmp_ex()
[all …]
/PHP-8.1/ext/hash/
H A Dhash_md.c115 #define MD4_R1(a,b,c,d,k,s) a = ROTL32(s, a + MD4_F(b,c,d) + x[k]) argument
126 MD4_R1(a,b,c,d, 0, 3); in MD4Transform()
127 MD4_R1(d,a,b,c, 1, 7); in MD4Transform()
128 MD4_R1(c,d,a,b, 2,11); in MD4Transform()
129 MD4_R1(b,c,d,a, 3,19); in MD4Transform()
130 MD4_R1(a,b,c,d, 4, 3); in MD4Transform()
131 MD4_R1(d,a,b,c, 5, 7); in MD4Transform()
132 MD4_R1(c,d,a,b, 6,11); in MD4Transform()
133 MD4_R1(b,c,d,a, 7,19); in MD4Transform()
134 MD4_R1(a,b,c,d, 8, 3); in MD4Transform()
[all …]
/PHP-8.1/tests/lang/
H A Dbug35176.phpt13b>Warning</b>: require_once(nonexistent.php) [<a href='/function.require-once.html'>function.requ…
15 <b>Fatal error</b>: Uncaught Error: Failed opening required 'nonexistent.php' (include_path='%s') …
18 thrown in <b>%sbug35176.php</b> on line <b>2</b><br />
/PHP-8.1/ext/phar/tests/
H A D025.phpt15 $files['b'] = '<?php echo "This is b\n"; ?>';
16 $files['b/b'] = '<?php echo "This is b/b\n"; ?>';
21 include $pname . '/b';
22 include $pname . '/b/b';
29 This is b
30 This is b/b
H A D028.phpt15 $files['a.php'] = '<?php echo "This is a\n"; include "'.$pname.'/b.php"; ?>';
16 $files['b.php'] = '<?php echo "This is b\n"; include "'.$pname.'/b/c.php"; ?>';
17 $files['b/c.php'] = '<?php echo "This is b/c\n"; include "'.$pname.'/b/d.php"; ?>';
18 $files['b/d.php'] = '<?php echo "This is b/d\n"; include "'.$pname.'/e.php"; ?>';
36 This is b
37 This is b/c
38 This is b/d
42 This is b
43 This is b/c
44 This is b/d
/PHP-8.1/Zend/tests/
H A Dbug46238.phpt14 $b = '';
16 $a::$b($a);
17 $a::$b(array());
18 $a::$b(NULL);
19 $a::$b(1);
20 $a::$b();
23 $b = "\0";
25 $a::$b($a);
27 $a::$b(NULL);
28 $a::$b(1);
[all …]
H A Dobjects_025.phpt20 $b = 'aaaaa1';
21 $a->$b();
22 $a::$b();
24 $b = ' ';
25 $a->$b();
26 $a::$b();
28 $b = str_repeat('a', 10000);
29 $a->$b();
30 $a::$b();
32 $b = NULL;
[all …]
H A Dbug35163_3.phpt6 $a->b = array(1);
7 $a->b[] =& $a->b;
8 $a->b[] =& $a->b;
9 $a->b[0] = 2;
11 $a->b = null;
16 ["b"]=>
/PHP-8.1/sapi/fpm/fpm/
H A Dfpm_config.h38 # define timeradd(a, b, result) \ argument
40 (result)->tv_sec = (a)->tv_sec + (b)->tv_sec; \
41 (result)->tv_usec = (a)->tv_usec + (b)->tv_usec; \
52 # define timercmp(a, b, CMP) \ argument
53 (((a)->tv_sec == (b)->tv_sec) ? \
54 ((a)->tv_usec CMP (b)->tv_usec) : \
55 ((a)->tv_sec CMP (b)->tv_sec))
60 # define MIN(a,b) (((a)<(b))?(a):(b)) argument
64 # define MAX(a,b) (((a)>(b))?(a):(b)) argument
/PHP-8.1/sapi/phpdbg/tests/
H A Dwatch_001.phpt15 b 3
17 w r $b
28 00004: $b = [$a];
31 prompt> [Breaking on watchpoint $b]
34 >00006: unset($b);
35 00007: $b = 2;
37 prompt> [Breaking on watchpoint $b]
40 >00007: $b = 2;
53 $b = [$a];
55 unset($b);
[all …]
/PHP-8.1/ext/opcache/tests/
H A Dbug78015.phpt19 $a = ['b' => [$x]];
20 $d = !$a['b'];
26 $a = ['b' => [$x]];
27 $d = (int) $a['b'];
33 $a = ['b' => [$x]];
34 $d = $a['b'] ?: 42;
40 $a = ['b' => [$x]];
47 $a = ['b' => [$x]];
48 $b = "foo";
49 $d = "$a[b]{$b}bar";
[all …]
/PHP-8.1/ext/date/tests/
H A Dgh9891.phpt12 $b = clone $a;
14 echo '$b: ', $b->format(DateTime::ATOM), "\n";
16 echo '$b: setTimestamp(', $b->getTimestamp(), ")\n";
18 $b->setTimestamp($b->getTimestamp());
20 echo '$b: ', $b->format(DateTime::ATOM), "\n";
26 $b: 2022-11-01T13:30:00-05:00
28 $b: setTimestamp(1667327400)
30 $b: 2022-11-01T13:30:00-05:00
/PHP-8.1/Zend/tests/varSyntax/
H A DstaticMember.phpt7 public static $b = 0;
14 $b_str = 'b';
17 var_dump(A::$b);
18 var_dump($A_str::$b);
19 var_dump($A_obj::$b);
20 var_dump(('A' . '')::$b);
21 var_dump('A'::$b);
22 var_dump('\A'::$b);
23 var_dump('A'[0]::$b);
26 var_dump(A::$A_str::$b);
/PHP-8.1/ext/opcache/tests/jit/
H A Dbug80742.phpt16 if ($a == $b) {
19 if ($a == $b) {
23 if ($a != $b) {
26 if ($a != $b) {
30 if ($a === $b) {
33 if ($a === $b) {
37 if ($a !== $b) {
40 if ($a !== $b) {
46 $a == $b && $c,
47 $a != $b && $c,
[all …]
/PHP-8.1/ext/gmp/tests/
H A Dbug69803.phpt9 $b = gmp_init(200);
10 echo $a . ", ", $b . "\n";
11 gmp_random_range($a, $b);
12 echo $a . ", ", $b . "\n";
14 $b = gmp_init(200);
15 echo $a . ", ", $b . "\n";
16 gmp_random_range(100, $b);
17 echo $a . ", ", $b . "\n";
/PHP-8.1/ext/simplexml/tests/
H A Dbug44478.phpt8 $xml_element->node1 = 'a &#38; b';
10 $xml_element->node1 = 'a &#38; b';
12 $xml_element->addChild('node2','a &#38; b');
14 $xml_element->node2 = 'a & b';
21 a &#38; b
22 a &#38; b
23 a & b
24 a & b
26 <root><node1>a &amp;#38; b</node1><node2>a &amp; b</node2></root>

Completed in 46 milliseconds

12345678910>>...99