/PHP-7.3/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.3/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;
|
/PHP-7.3/ext/mysqli/tests/ |
H A D | client-cert.pem | 15 00:c8:d1:a1:fe:a4:8c:f3:1b:17:71:1b:74:35:11: 17 d7:b0:8a:f6:f1:cf:fa:6b:d0:79:64:eb:bb:69:a5: 19 5b:cd:0b:28:ab:bb:07:33:d5:8b:d3:b4:72:c4:a6: 24 52:18:0b:af:19:2b:d4:e5:66:74:a4:f3:f0:da:09: 25 30:f7:bc:0c:c9:9b:ce:57:06:04:27:e5:a1:2f:2b: 28 47:02:20:2b:57:bb:32:20:dd:06:4c:76:a4:9b:72: 45 3e:3c:1f:6c:5b:83:d1:71:15:f5:45:52:fc:7f:67:bc:af:c5: 48 e6:e9:09:b6:6b:b5:cc:1e:06:fd:bd:3a:11:d3:44:bd:ca:7a: 51 1b:e8:8d:19:fb:44:80:13:89:81:c5:05:4b:a7:66:6b:c0:31: 52 41:f0:6c:60:aa:ec:d3:4c:ff:c1:3b:d5:bb:0d:42:7d:37:5e: [all …]
|
/PHP-7.3/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.3/ext/phar/tests/tar/ |
H A D | refcount1.phpt | 21 $files['b.php'] = '<?php echo "This is b\n"; ?>'; 22 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 31 $fp = fopen($alias . '/b/c.php', 'wb'); 36 $b = fopen($alias . '/b/c.php', 'rb'); 37 $a = $phar['b/c.php']; 39 var_dump(fread($b, 20)); 40 rewind($b); 42 unlink($alias . '/b/c.php'); 44 var_dump(fread($b, 20)); 45 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.3/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.3/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.3/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.3/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.3/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.3/Zend/tests/list/ |
H A D | list_reference_008.phpt | 6 $b =& $a; 7 $arr = [&$a, &$b]; 8 list(&$a, &$b) = $arr; 9 var_dump($a, $b, $arr); 10 $b++; 11 var_dump($a, $b, $arr); 12 unset($a, $b, $arr); 32 list(&$a, &$b) = $a; 33 var_dump($a, $b); 34 $a++; $b++;
|
H A D | list_reference_001.phpt | 6 list(&$a, list(&$b)) = $arr; 7 var_dump($a, $b); 11 list($a, &$b) = $arr; 15 [&$a, [&$b]] = $arr; 16 var_dump($a, $b); 20 [&$a, [&$b], &$c] = $arr; 21 var_dump($a, $b, $c); 25 ["one" => &$a, "two" => [&$b], "three" => &$c] = $arr; 26 var_dump($a, $b, $c);
|
/PHP-7.3/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.3/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 …]
|
/PHP-7.3/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.3/ext/standard/tests/strings/ |
H A D | crypt_variation1.phpt | 6 $b = str_repeat("A", 124); 7 echo crypt("A", "$5$" . $b)."\n"; 8 $b = str_repeat("A", 125); 9 echo crypt("A", "$5$" . $b)."\n"; 10 $b = str_repeat("A", 4096); 11 echo crypt("A", "$5$" . $b)."\n";
|
/PHP-7.3/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.3/ext/standard/tests/array/ |
H A D | compact_variation2.phpt | 13 $b = 'main.b'; 16 $b = 'f.b'; 18 var_dump(compact('a','b','c')); 19 var_dump(compact(array('a','b','c'))); 31 ["b"]=> 32 string(3) "f.b" 39 ["b"]=> 40 string(3) "f.b"
|
/PHP-7.3/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.3/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.3/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"]=>
|