/php-src/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()); 68 string(1) "b" 75 string(5) "new b" [all …]
|
H A D | delete_in_phar_confirm.phpt | 17 $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'; 26 unlink($pname . '/b/c.php'); 34 include 'phar://' . __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php/b.php'; 35 include 'phar://' . __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.php/b/c.php'; 42 This is b 43 This is b/c 46 This is b [all …]
|
H A D | rename_dir_and_mount.phpt | 18 $files['a/b/x'] = 'a'; 26 var_dump(file_exists($pname . '/a/b')); 27 var_dump(file_exists($pname . '/a/b/x')); 30 rename($pname . '/a', $pname . '/b'); 34 var_dump(file_exists($pname . '/a/b')); 35 var_dump(file_exists($pname . '/a/b/x')); 38 var_dump(file_exists($pname . '/b')); 39 var_dump(file_exists($pname . '/b/x')); 40 var_dump(file_exists($pname . '/b/b')); 41 var_dump(file_exists($pname . '/b/b/x')); [all …]
|
H A D | 030.phpt | 14 $files['a.php'] = '<?php echo "This is a\n"; include \''.$pname.'/b.php\'; ?>'; 15 $files['b.php'] = '<?php echo "This is b\n"; include \''.$pname.'/b/c.php\'; ?>'; 16 $files['b/c.php'] = '<?php echo "This is b/c\n"; include \''.$pname.'/b/d.php\'; ?>'; 17 $files['b/d.php'] = '<?php echo "This is b/d\n"; include \''.$pname.'/e.php\'; ?>'; 41 This is b 42 This is b/c 43 This is b/d
|
/php-src/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 | 17 $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'; 26 unlink($alias . '/b/c.php'); 34 include 'phar://' . __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.tar/b.php'; 35 include 'phar://' . __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.tar/b/c.php'; 42 This is b 43 This is b/c 46 This is b [all …]
|
/php-src/ext/standard/tests/class_object/ |
H A D | get_object_vars_variation_005.phpt | 14 $ao["\0A\0b"] = 42; 15 $ao["\0*\0b"] = 24; 21 $ao["\0A\0b"] = 42; 22 $ao["\0*\0b"] = 24; 29 ["%0A%0b"]=> 31 ["%0*%0b"]=> 39 ["%0A%0b"]=> 41 ["%0*%0b"]=>
|
H A D | get_object_vars_basic_001.phpt | 8 public static function test($b) { 10 var_dump(get_object_vars($b)); 20 public static function test($b) { 22 var_dump(get_object_vars($b)); 29 public static function test($b) { 43 $b = new B; 45 var_dump(get_object_vars($b)); 47 B::test($b); 49 C::test($b); 51 A::test($b); [all …]
|
/php-src/ext/opcache/tests/ |
H A D | bug77434.phpt | 13 $a = ['a' => 0, 'b' => $x]; 14 $b = []; 15 $b[0] = $a; 16 $c = $b[0]; 20 $a = ['a' => 0, 'b' => $x]; 21 $b = [$a]; 22 $c = $b[0];
|
/php-src/ext/standard/tests/strings/ |
H A D | addcslashes_001.phpt | 10 $string = "goodyear12345NULL\0truefalse\a\v\f\b\n\r\t"; 21 "\b", 43 string(37) "goodyear1\2345NULL%0truefalse\a\b 49 string(39) "goodye\ar12345NULL%0truef\alse\\a\b 53 string(39) "goodyear12345NULL\000truefalse\a\b 57 string(37) "goodyear12345NULL%0truefalse\a\b\n 60 string(37) "goodyear12345NULL%0truefalse\a\b 63 string(37) "goodyear12345NULL%0truefalse\a\b 71 string(37) "goodyear12345NULL%0truefalse\a\v\b 75 string(39) "goodyear12345NULL%0truefalse\\a\\\b [all …]
|
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-src/ext/phar/tests/zip/ |
H A D | delete_in_phar_confirm.phpt | 17 $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'; 27 unlink($alias . '/b/c.php'); 35 include 'phar://' . __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.zip/b.php'; 36 include 'phar://' . __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.zip/b/c.php'; 43 This is b 44 This is b/c 47 This is b [all …]
|
/php-src/Zend/Optimizer/ |
H A D | zend_cfg.c | 44 uint8_t opcode = opcodes[b->start + b->len - 1].opcode; in zend_mark_reachable() 95 b = succ; in zend_mark_reachable() 138 b++; in zend_mark_reachable_blocks() 152 b++; in zend_mark_reachable_blocks() 206 for (b = blocks; b < blocks + cfg->blocks_count; b++) { in zend_mark_reachable_blocks() 211 for (j = b->start; j < b->start + b->len; j++) { in zend_mark_reachable_blocks() 603 for (b = blocks; b < end; b++) { in zend_cfg_build_predecessors() 606 for (b = blocks; b < end; b++) { in zend_cfg_build_predecessors() 622 for (b = blocks; b < end; b++) { in zend_cfg_build_predecessors() 771 b = blocks[b].idom; in dominates() [all …]
|
/php-src/Zend/tests/ |
H A D | bug35163_2.phpt | 6 $b = 'a'; 7 ${$b}[] =& $$b; 8 ${$b}[] =& $$b; 9 ${$b}[0] = 2;
|
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);
|
/php-src/ext/standard/tests/array/ |
H A D | bug20381.phpt | 10 'b' => 'b' 13 $b = array( 'a1' => 2, 22 array_merge_recursive( $a, $b ); 49 ["b"]=> 50 string(1) "b" 76 ["b"]=> 77 string(1) "b"
|
/php-src/ext/curl/tests/ |
H A D | bug72202.phpt | 8 $b = $a; 9 var_dump($a, $b); 11 var_dump($a, $b); 12 unset($a, $b); 15 $b = $a; 16 var_dump($a, $b); 18 var_dump($a, $b); 19 unset($a, $b);
|
/php-src/ext/session/tests/ |
H A D | 006.phpt | 25 class b { 33 $b = new b($a); 36 var_dump($a,$b); 39 $_SESSION["b"] = $b; 42 unset($_SESSION["a"], $_SESSION["b"]); 47 var_dump($a,$b); 57 object(b)#%d (1) { 69 object(b)#%d (1) {
|
/php-src/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; 50 b = 5 55 b = 3
|
/php-src/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-src/ext/hash/ |
H A D | hash_tiger.c | 35 bb = b; \ 48 b *= mul; 80 b -= bb; \ 85 pass(a,b,c,5) \ 87 pass(c,a,b,7) \ 89 pass(b,c,a,9) \ 92 pass(a,b,c,9) \ 93 tmpa=a; a=c; c=b; b=tmpa; \ 122 b = state[1]; \ 130 state[1] = b; \ [all …]
|
/php-src/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); 12 var_dump(stream_socket_client("[ ", $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)); [all …]
|
/php-src/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"]=>
|