Home
last modified time | relevance | path

Searched refs:b (Results 51 – 75 of 2612) sorted by relevance

12345678910>>...105

/php-src/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-src/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-src/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 …]
H A Dreg_alloc_012.phpt10 $b = $a;
11 $b =! $a = $a + $b & $b & $bb = $a = $a + $b & $a;
12 $a = $a + $b & $b & $b = $a;
/php-src/ext/phar/tests/
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
H A Ddelete_in_phar.phpt17 $files['b.php'] = '<?php echo "This is b\n"; ?>';
18 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>';
23 include $pname . '/b.php';
24 include $pname . '/b/c.php';
25 unlink($pname . '/b/c.php');
30 include $pname . '/b.php';
31 include $pname . '/b/c.php';
38 This is b
39 This is b/c
42 This is b
[all …]
H A Ddelete_in_phar_b.phpt16 $files['b.php'] = '<?php echo "This is b\n"; ?>';
17 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>';
21 include $pname . '/b.php';
22 include $pname . '/b/c.php';
23 unlink($pname . '/b/c.php');
28 include $pname . '/b.php';
29 include $pname . '/b/c.php';
36 This is b
37 This is b/c
42 This is b
[all …]
H A Drefcount1.phpt16 $files['b.php'] = '<?php echo "This is b\n"; ?>';
17 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>';
20 $fp = fopen($pname . '/b/c.php', 'wb');
25 $b = fopen($pname . '/b/c.php', 'rb');
26 $a = $p['b/c.php'];
28 var_dump(fread($b, 20));
29 rewind($b);
31 unlink($pname . '/b/c.php');
33 var_dump(fread($b, 20));
34 include $pname . '/b/c.php';
[all …]
H A D026.phpt14 $files['a.php'] = '<?php echo "This is a\n"; require \''.$pname.'/b.php\'; ?>';
15 $files['b.php'] = '<?php echo "This is b\n"; require \''.$pname.'/b/c.php\'; ?>';
16 $files['b/c.php'] = '<?php echo "This is b/c\n"; require \''.$pname.'/b/d.php\'; ?>';
17 $files['b/d.php'] = '<?php echo "This is b/d\n"; require \''.$pname.'/e.php\'; ?>';
29 This is b
30 This is b/c
31 This is b/d
/php-src/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";
H A Doverloading.phpt9 $b = gmp_init(17);
11 var_dump($a + $b);
13 var_dump(42 + $b);
15 var_dump($a - $b);
17 var_dump(42 - $b);
19 var_dump($a * $b);
21 var_dump(42 * $b);
23 var_dump($a / $b);
25 var_dump(42 / $b);
32 var_dump($a % $b);
[all …]
/php-src/Zend/tests/
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"]=>
H A Dobjects_001.phpt9 $b = new Bar;
11 var_dump($b == NULL);
12 var_dump($b != NULL);
13 var_dump($b == true);
17 var_dump($b == "");
18 var_dump($b != "");
19 var_dump($b == 0);
20 var_dump($b != 0);
21 var_dump($b == 1);
22 var_dump($b != 1);
[all …]
H A Dbug38469.phpt8 $b = array(array());
9 $b[0][0] = $b;
10 var_dump($b);
16 $b = array(array());
17 $b[0][0] = $b;
18 var_dump($b);
/php-src/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>
/php-src/ext/pcre/tests/
H A Dbug61780_2.phpt28 'b' => '2',
48 'b' =>
82 'b' =>
168 'b' =>
222 'b' => NULL,
230 'b' => '2',
238 'b' => NULL,
269 'b' =>
297 'b' =>
325 'b' =>
[all …]
/php-src/ext/standard/tests/strings/
H A Dstripslashes_variation4.phpt16 array("f\\'oo", "b\\'ar", array("fo\\'o", "b\\'ar")),
18 array("f\\'oo", "b\\'ar", array("fo\\'o", "b\\'ar", array(""))),
19 array("f\\'oo", "b\\'ar", array("fo\\'o", "b\\'ar", array("fo\\'o", "b\\'ar")))
64 string(4) "b'ar"
70 string(4) "b'ar"
79 string(4) "b'ar"
92 string(4) "b'ar"
98 string(4) "b'ar"
112 string(4) "b'ar"
118 string(4) "b'ar"
[all …]
H A Dhtmlentities21.phpt71 00000: 262378464646443b 262378464646443b
72 00001: 262378464646443b 262378464646443b
75 0000B: 262378464646443b 262378464646443b
76 0000C: 262378464646443b 262378464646443b
78 0000E: 262378464646443b 262378464646443b
79 0001F: 262378464646443b 262378464646443b
87 00000: 262378464646443b 262378464646443b
88 00001: 262378464646443b 262378464646443b
91 0000B: 262378464646443b 262378464646443b
92 0000C: 262378464646443b 262378464646443b
[all …]
/php-src/ext/standard/tests/serialize/
H A Dtyped_property_refs.phpt8 public $b;
13 public int $b;
18 public int $b;
23 public string $b;
28 public float $b;
31 var_dump(unserialize('O:1:"A":2:{s:1:"a";i:1;s:1:"b";R:2;}'));
66 ["b"]=>
72 ["b"]=>
78 ["b"]=>
82 Cannot assign null to property B::$b of type int
[all …]
/php-src/Zend/
H A Dzend_multiply.h30 (dval) = (double) (a) * (double) (b); \
52 : "0"(a), "r"(b), "1"(0)); \
64 : "r"(a), "r"(b)); \
77 : "r"(a), "r"(b)); \
94 (dval) = (double)(a) * (double)(b); \
100 __int64 __high = __mulh((a), (b)); \
101 __int64 __low = (a) * (b); \
107 (dval) = (double)(a) * (double)(b); \
130 : "r"(a), "r"(b)); \
132 (dval) = (double) (a) * (double) (b); \
[all …]
/php-src/Zend/tests/named_params/
H A Dunpack_and_named_1.phpt11 test(...[1, 'a' => 2], b: 3);
13 function test2($a, $b, $c = 3, $d = 4) {
14 var_dump($a, $b, $c, $d);
18 test2(...['b' => 2, 'a' => 1], d: 40);
21 test2(...[1, 2], b: 20);
26 test2(...[1, 'b' => 2], b: 20);
46 ["b"]=>
57 Named parameter $b overwrites previous argument
58 Named parameter $b overwrites previous argument
/php-src/sapi/phpdbg/tests/
H A Dwatch_006.phpt13 b 4
16 w r $b
30 00005: $b = &$a;
37 >00005: $b = &$a;
40 prompt> [Breaking on watchpoint $b]
51 00009: $b = &$c;
53 [Breaking on watchpoint $b[]]
56 00009: $b = &$c;
61 >00009: $b = &$c;
76 $b = &$a;
[all …]
/php-src/ext/phar/tests/tar/
H A Ddelete_in_phar.phpt17 $phar['b.php'] = '<?php echo "This is b\n"; ?>';
18 $phar['b/c.php'] = '<?php echo "This is b/c\n"; ?>';
23 include $alias . '/b.php';
24 include $alias . '/b/c.php';
25 unlink($alias . '/b/c.php');
31 include $alias . '/b.php';
32 include $alias . '/b/c.php';
39 This is b
40 This is b/c
43 This is b
[all …]
/php-src/ext/phar/tests/zip/
H A Ddelete_in_phar.phpt17 $phar['b.php'] = '<?php echo "This is b\n"; ?>';
18 $phar['b/c.php'] = '<?php echo "This is b/c\n"; ?>';
23 include $alias . '/b.php';
24 include $alias . '/b/c.php';
25 unlink($alias . '/b/c.php');
30 include $alias . '/b.php';
31 include $alias . '/b/c.php';
38 This is b
39 This is b/c
42 This is b
[all …]
/php-src/ext/session/tests/
H A D026.phpt25 class b {
33 $b = new b($a);
36 var_dump($a,$b);
39 $_SESSION['b'] = $b;
43 unset($_SESSION['b']);
47 $b = $_SESSION['b'];
49 var_dump($a,$b);
58 object(b)#%d (1) {
70 object(b)#%d (1) {

Completed in 34 milliseconds

12345678910>>...105