/PHP-7.2/ext/pcre/pcrelib/testdata/ |
H A D | testinput1 | 1305 /^a b 1312 b 2606 /$b/ 3350 /(?:c|d)(?:)(?:a(?:)(?:b)(?:b(?:))(?:b(?:)(?:b)))/ 3424 /^b/ 4045 /(?(?=.*b)b|^)/ 4049 /(?(?=^.*b)b|^)/ 4053 /(?(?=.*b)b|^)*/ 4057 /(?(?=.*b)b|^)+/ 4061 /(?(?=b).*b|^d)/ [all …]
|
/PHP-7.2/ext/simplexml/tests/ |
H A D | bug66084_1.phpt | 8 echo json_encode(simplexml_load_string('<a><b/><c><x/></c></a>')->c), "\n"; 9 echo json_encode(simplexml_load_string('<a><b/><c><x/></c></a>')), "\n"; 10 echo json_encode(simplexml_load_string('<a><b/><d/><c><x/></c></a>')), "\n"; 11 echo json_encode(simplexml_load_string('<a><b/><c><d/><x/></c></a>')), "\n"; 12 echo json_encode(simplexml_load_string('<a><b/><c><d><x/></d></c></a>')), "\n"; 16 {"b":{},"c":{"x":{}}} 17 {"b":{},"d":{},"c":{"x":{}}} 18 {"b":{},"c":{"d":{},"x":{}}} 19 {"b":{},"c":{"d":{"x":{}}}}
|
/PHP-7.2/ext/phar/tests/ |
H A D | phar_ctx_001.phpt | 17 $files['b'] = 'b'; 26 var_dump(file_get_contents($pname . '/b')); 27 var_dump($phar['b']->isCompressed()); 35 file_put_contents($pname . '/b', 'new b', 0, $context); 43 var_dump($phar['b']->isCompressed()); 44 var_dump($phar['b']->getMetaData()); 58 var_dump($phar['b']->isCompressed()); 59 var_dump($phar['b']->getMetaData()); 69 string(1) "b" 76 string(5) "new b" [all …]
|
H A D | delete_in_phar_confirm.phpt | 16 $files['b.php'] = '<?php echo "This is b\n"; ?>'; 17 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 30 include $pname . '/b.php'; 31 include $pname . '/b/c.php'; 33 unlink($pname . '/b/c.php'); 41 include 'phar://' . dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php/b.php'; 42 include 'phar://' . dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php/b/c.php'; 50 This is b 51 This is b/c 54 This is b [all …]
|
/PHP-7.2/ext/phar/tests/tar/ |
H A D | refcount1.phpt | 22 $files['b.php'] = '<?php echo "This is b\n"; ?>'; 23 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 32 $fp = fopen($alias . '/b/c.php', 'wb'); 37 $b = fopen($alias . '/b/c.php', 'rb'); 38 $a = $phar['b/c.php']; 40 var_dump(fread($b, 20)); 41 rewind($b); 43 unlink($alias . '/b/c.php'); 45 var_dump(fread($b, 20)); 46 include $alias . '/b/c.php'; [all …]
|
H A D | delete_in_phar_confirm.phpt | 16 $phar['b.php'] = '<?php echo "This is b\n"; ?>'; 17 $phar['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 30 include $alias . '/b.php'; 31 include $alias . '/b/c.php'; 33 unlink($alias . '/b/c.php'); 41 include 'phar://' . dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.tar/b.php'; 42 include 'phar://' . dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.tar/b/c.php'; 50 This is b 51 This is b/c 54 This is b [all …]
|
/PHP-7.2/ext/gd/tests/ |
H A D | dashedlines.phpt | 13 $b = 0x0000ff; 15 $style = array($r, $b); 21 $p2 = imagecolorat($im, 1,5) == $b; 23 $p4 = imagecolorat($im, 3,5) == $b; 25 $p5 = imagecolorat($im, 5,5) == $b; 36 $style = array($r, $b); 42 $p2 = imagecolorat($im, 2,1) == $b; 44 $p4 = imagecolorat($im, 2,3) == $b; 46 $p6 = imagecolorat($im, 2,5) == $b; 57 $style = array($r, $b); [all …]
|
/PHP-7.2/ext/standard/tests/file/ |
H A D | stream_002.phpt | 7 $b = NULL; 8 var_dump(stream_socket_client("", $a, $b)); 9 var_dump($a, $b); 10 var_dump(stream_socket_client("[", $a, $b)); 11 var_dump($a, $b); 13 var_dump($a, $b); 14 var_dump(stream_socket_client(".", $a, $b)); 15 var_dump($a, $b); 16 var_dump(stream_socket_client(1, $a, $b)); 17 var_dump($a, $b); [all …]
|
/PHP-7.2/Zend/tests/ |
H A D | bug37715.phpt | 9 'b' => array( 14 // Set the pointer of $a to 'b' and the pointer of 'b' to 'CC' 17 next($a['b']); 18 next($a['b']); 19 next($a['b']); 21 var_dump(key($a['b'])); 26 var_dump(key($a['b']));
|
H A D | clone_002.phpt | 6 $a = clone clone $b = new stdClass; 7 var_dump($a == $b); 10 $c = clone clone clone $b = new stdClass; 11 var_dump($a == $b, $b == $c); 15 $d = clone $a = $b = new foo; 16 var_dump($a == $d, $b == $d, $c == $a);
|
H A D | bug35163_2.phpt | 6 $b = 'a'; 7 ${$b}[] =& $$b; 8 ${$b}[] =& $$b; 9 ${$b}[0] = 2;
|
H A D | list_005.phpt | 8 list($a, $b, $c) = $str; 10 var_dump($a, $b, $c); 16 list($a, $b, $c) = $int; 18 var_dump($a, $b, $c); 24 list($a, $b, $c) = $obj; 26 var_dump($a, $b, $c); 32 list($a, $b, $c) = $arr; 34 var_dump($a, $b, $c);
|
/PHP-7.2/sapi/phpdbg/tests/ |
H A D | watch_005.phpt | 4 b 3 16 >00003: $b = "a"; 17 00004: $a = $b.$b; 24 00006: $a[1] = "b"; 29 >00006: $a[1] = "b"; 43 $b = "a"; 44 $a = $b.$b; 46 $a[1] = "b";
|
/PHP-7.2/ext/session/tests/ |
H A D | 006.phpt | 23 class b { 31 $b = new b($a); 34 var_dump($a,$b); 37 $_SESSION["b"] = $b; 40 unset($_SESSION["a"], $_SESSION["b"]); 45 var_dump($a,$b); 55 object(b)#%d (1) { 67 object(b)#%d (1) {
|
/PHP-7.2/tests/classes/ |
H A D | inheritance.phpt | 10 public $b; 14 echo "b = ".$this->b."\n"; 17 return $this->a*$this->b; 26 echo "b = ".$this->b."\n"; 34 $foo1->b = 5; 42 $bar1->b = 3; 49 b = 5 54 b = 3
|
/PHP-7.2/ext/phar/tests/zip/ |
H A D | delete_in_phar_confirm.phpt | 16 $phar['b.php'] = '<?php echo "This is b\n"; ?>'; 17 $phar['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 30 include $alias . '/b.php'; 31 include $alias . '/b/c.php'; 34 unlink($alias . '/b/c.php'); 42 include 'phar://' . dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.zip/b.php'; 43 include 'phar://' . dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.zip/b/c.php'; 51 This is b 52 This is b/c 55 This is b [all …]
|
/PHP-7.2/ext/pcre/tests/ |
H A D | bug61780_2.phpt | 5 preg_match('/(?<a>4)?(?<b>2)?\d/', '23456', $matches, PREG_UNMATCHED_AS_NULL); 8 preg_match('/(?<a>4)?(?<b>2)?\d/', '23456', $matches, PREG_OFFSET_CAPTURE | PREG_UNMATCHED_AS_NULL); 11 preg_match_all('/(?<a>4)?(?<b>2)?\d/', '123456', $matches, PREG_UNMATCHED_AS_NULL); 14 preg_match_all('/(?<a>4)?(?<b>2)?\d/', '123456', $matches, PREG_OFFSET_CAPTURE | PREG_UNMATCHED_AS_… 17 preg_match_all('/(?<a>4)?(?<b>2)?\d/', '123456', $matches, PREG_SET_ORDER | PREG_UNMATCHED_AS_NULL); 28 'b' => '2', 48 'b' => 82 'b' => 152 'b' => 186 'b' => '2', [all …]
|
H A D | preg_replace_callback_array.phpt | 18 function b() { 19 return "b"; 24 "/a/" => 'b', 25 "/b/" => function () { return "c"; }, 31 "/a/" => 'b', 33 "/b/" => function () { return "ok"; }, 40 "/a/" => 'b', 41 "/b/" => function($a) { return "ok"; }), 'a', -1, $count));
|
/PHP-7.2/ext/standard/tests/serialize/ |
H A D | bug36424.phpt | 18 class b extends a {} 19 class c extends b {} 23 $c->a->b = new b; 24 $c->a->b->c = $c; 26 $c->a->b->a = $c->a; 35 $d === $d->a->b->c, 37 $d->a->b->a === $d->a, 48 C:1:"c":108:{a:1:{s:1:"a";C:1:"a":81:{a:3:{s:1:"b";C:1:"b":30:{a:2:{s:1:"c";r:1;s:1:"a";r:3;}}s:1:"… 57 [b] => b Object
|
/PHP-7.2/Zend/ |
H A D | zend_strtod.c | 850 (a, b) Bigint *a, *b; in mult() argument 1079 (a, b) Bigint *a, *b; in cmp() argument 1113 (a, b) Bigint *a, *b; in diff() argument 1721 b->x[b->wds++] = 1; 2028 b = lshift(b, n); 2101 b = increment(b); 2389 b = lshift(b, i); 2391 b = increment(b); 2421 b = lshift(b, b2); 3668 b->maxwds = 1 << (b->k = *(int*)b); [all …]
|
/PHP-7.2/ext/mbstring/tests/ |
H A D | mb_split_variation1.phpt | 19 $string = 'a b c d e f g'; 107 string(13) "a b c d e f g" 113 string(13) "a b c d e f g" 119 string(13) "a b c d e f g" 125 string(13) "a b c d e f g" 131 string(13) "a b c d e f g" 137 string(13) "a b c d e f g" 143 string(13) "a b c d e f g" 149 string(13) "a b c d e f g" 155 string(13) "a b c d e f g" [all …]
|
/PHP-7.2/ext/standard/tests/class_object/ |
H A D | get_object_vars_basic_001.phpt | 14 public static function test($b) { 16 var_dump(get_object_vars($b)); 28 var_dump(get_object_vars($b)); 37 var_dump(get_object_vars($b)); 44 var_dump(get_object_vars($b)); 49 $b = new B; 51 var_dump(get_object_vars($b)); 53 B::test($b); 55 C::test($b); 57 A::test($b); [all …]
|
/PHP-7.2/tests/basic/ |
H A D | 018.phpt | 4 a[][]=1&a[][]=3&b[a][b][c]=1&b[a][b][d]=1 8 var_dump($_POST['b']); 26 ["b"]=>
|
/PHP-7.2/ext/standard/tests/general_functions/ |
H A D | bug69646.phpt | 12 $b = 'b -c d\\'; 14 var_dump( $b, escapeshellarg($b) ); 27 $cmd = PHP_BINARY . " " . $script . " " . escapeshellarg($a) . " " . escapeshellarg($b); 36 string(7) "b -c d\" 37 string(10) ""b -c d\\"" 45 string(7) "b -c d\"
|
/PHP-7.2/ext/standard/tests/array/ |
H A D | bug45312.phpt | 10 static function comp_func_cr($a, $b) { 11 if ($a->priv_member === $b->priv_member) return 0; 12 return ($a->priv_member > $b->priv_member) ? 1 : -1; 14 static function comp_func_cr2($a, $b) { 16 if ($a->priv_member === $b->priv_member) return 0; 17 return ($a->priv_member < $b->priv_member) ? 1 : -1; 24 $b = array("0.2" => new cr(9), "0.5" => new cr(22), 0 => new cr(3), 1 => new cr(4), 2 => new cr(-15… 25 $result = array_udiff_assoc($a, $b, array("cr", "comp_func_cr")); 29 $result = array_udiff_assoc($a, $b, array("cr", "comp_func_cr2"));
|