/PHP-7.4/ext/spl/tests/ |
H A D | observer_007.phpt | 6 $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);
|
H A D | bug53144.phpt | 9 $b = new SplObjectStorage(); 10 $b[$o1] = "bar"; 11 $b[$o2] = "baz"; 13 var_dump(count($b)); 14 $b->removeAll($b); 15 var_dump(count($b));
|
/PHP-7.4/tests/lang/ |
H A D | bug35176.phpt | 13 …b>Warning</b>: require_once(nonexisiting.php) [<a href='/function.require-once.html'>function.req… 15 …b>Fatal error</b>: require_once() [<a href='/function.require.html'>function.require.html</a>]: F…
|
/PHP-7.4/Zend/tests/ |
H A D | bug46238.phpt | 14 $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 D | objects_025.phpt | 20 $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 D | bug35163_3.phpt | 6 $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 D | objects_001.phpt | 9 $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 D | bug38469.phpt | 8 $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-7.4/sapi/fpm/fpm/ |
H A D | fpm_config.h | 38 # 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-7.4/sapi/phpdbg/tests/ |
H A D | watch_001.phpt | 15 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 …]
|
H A D | watch_006.phpt | 13 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-7.4/ext/opcache/tests/ |
H A D | bug78015.phpt | 19 $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-7.4/ext/standard/tests/array/ |
H A D | 007.phpt | 9 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-7.4/ext/phar/tests/ |
H A D | 025.phpt | 15 $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'; 30 This is b 31 This is b/b
|
H A D | 028.phpt | 15 $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"; ?>'; 37 This is b 38 This is b/c 39 This is b/d 43 This is b 44 This is b/c 45 This is b/d
|
H A D | delete_in_phar.phpt | 16 $files['b.php'] = '<?php echo "This is b\n"; ?>'; 17 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 22 include $pname . '/b.php'; 23 include $pname . '/b/c.php'; 24 unlink($pname . '/b/c.php'); 29 include $pname . '/b.php'; 30 include $pname . '/b/c.php'; 38 This is b 39 This is b/c 42 This is b [all …]
|
/PHP-7.4/Zend/tests/varSyntax/ |
H A D | staticMember.phpt | 7 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-7.4/ext/simplexml/tests/ |
H A D | bug44478.phpt | 8 $xml_element->node1 = 'a & b'; 10 $xml_element->node1 = 'a & b'; 12 $xml_element->addChild('node2','a & b'); 14 $xml_element->node2 = 'a & b'; 22 a & b 23 a & b 24 a & b 25 a & b 27 <root><node1>a &#38; b</node1><node2>a & b</node2></root>
|
/PHP-7.4/ext/pcre/tests/ |
H A D | bug61780_2.phpt | 28 '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-7.4/ext/gmp/tests/ |
H A D | bug69803.phpt | 9 $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-7.4/ext/standard/tests/serialize/ |
H A D | bug28325.phpt | 6 public $b; 8 class b { 15 $a->b = new b(); 16 $a->b->c = new c(); 17 $a->b->c->d = $a; 22 ["b"]=> 23 object(b)#%d (1) {
|
/PHP-7.4/ext/session/tests/ |
H A D | 026.phpt | 23 class b { 31 $b = new b($a); 34 var_dump($a,$b); 37 $_SESSION['b'] = $b; 41 unset($_SESSION['b']); 45 $b = $_SESSION['b']; 47 var_dump($a,$b); 56 object(b)#%d (1) { 68 object(b)#%d (1) {
|
/PHP-7.4/ext/standard/tests/filters/ |
H A D | strip_tags_filter.phpt | 7 fwrite($fp, "test <b>bold</b> <i>italic</i> test\n"); 11 stream_filter_append($fp, 'string.strip_tags', STREAM_FILTER_WRITE, "<b>"); 12 fwrite($fp, "test <b>bold</b> <i>italic</i> test\n"); 16 stream_filter_append($fp, 'string.strip_tags', STREAM_FILTER_WRITE, ["b"]); 17 fwrite($fp, "test <b>bold</b> <i>italic</i> test\n"); 26 test <b>bold</b> italic test 29 test <b>bold</b> italic test
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | stripslashes_variation4.phpt | 21 array("f\\'oo", "b\\'ar", array("fo\\'o", "b\\'ar")), 23 array("f\\'oo", "b\\'ar", array("fo\\'o", "b\\'ar", array(""))), 24 array("f\\'oo", "b\\'ar", array("fo\\'o", "b\\'ar", array("fo\\'o", "b\\'ar"))) 69 string(4) "b'ar" 75 string(4) "b'ar" 84 string(4) "b'ar" 97 string(4) "b'ar" 103 string(4) "b'ar" 117 string(4) "b'ar" 123 string(4) "b'ar" [all …]
|
/PHP-7.4/ext/phar/tests/tar/ |
H A D | delete_in_phar.phpt | 16 $phar['b.php'] = '<?php echo "This is b\n"; ?>'; 17 $phar['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 22 include $alias . '/b.php'; 23 include $alias . '/b/c.php'; 24 unlink($alias . '/b/c.php'); 30 include $alias . '/b.php'; 31 include $alias . '/b/c.php'; 39 This is b 40 This is b/c 43 This is b [all …]
|