/php-src/ext/spl/tests/SplObjectStorage/ |
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-src/ext/opcache/jit/ir/ |
H A D | ir_cfg.c | 238 for (b = 1; b <= bb_count; b++, bb++) { in ir_build_cfg() 409 for (b = 1; b <= bb_count; b++, bb++) { in ir_remove_unreachable_blocks() 454 for (b = 1; b <= bb_count; b++, bb++) { in ir_remove_unreachable_blocks() 471 for (b = 1; b <= bb_count; b++, bb++) { in ir_remove_unreachable_blocks() 1184 for (b = 1; b <= ctx->cfg_blocks_count; b++) { in ir_dump_cfg_freq_graph() 1268 for (b = 1; b <= ctx->cfg_blocks_count; b++) { in ir_schedule_blocks_bottom_up() 1269 chains[b].head = b; in ir_schedule_blocks_bottom_up() 1270 chains[b].next = b; in ir_schedule_blocks_bottom_up() 1271 chains[b].prev = b; in ir_schedule_blocks_bottom_up() 1572 if (b && chains[b].head == b && chains[b].tail == b) { in ir_schedule_blocks_bottom_up() [all …]
|
/php-src/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-src/ext/opcache/tests/opt/ |
H A D | inference_024.phpt | 11 $b = new SplFixedArray(1); 12 $b[0] = $a; 13 $g = &$b[0]; 14 $b = new SplFixedArray(1); 15 $b[0] = $b; 16 $g = &$b[0];
|
/php-src/ext/phar/tests/tar/ |
H A D | delete_in_phar_b.phpt | 16 $phar['b.php'] = '<?php echo "This is b\n"; ?>'; 17 $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 45 This is b [all …]
|
/php-src/ext/phar/tests/zip/ |
H A D | delete_in_phar_b.phpt | 16 $phar['b.php'] = '<?php echo "This is b\n"; ?>'; 17 $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 44 This is b [all …]
|
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"; ?>'; 29 $fp = fopen($alias . '/b/c.php', 'wb'); 33 $b = fopen($alias . '/b/c.php', 'rb'); 34 $a = $phar['b/c.php']; 36 var_dump(fread($b, 20)); 37 rewind($b); 39 unlink($alias . '/b/c.php'); 41 var_dump(fread($b, 20)); 42 include $alias . '/b/c.php'; [all …]
|
/php-src/ext/phar/tests/ |
H A D | phar_oo_005.phpt | 38 string(16) "phar://*/b/c.php" 39 string(16) "phar://*/b/c.php" 40 string(1) "b" 41 string(7) "b/c.php" 42 string(1) "b" 45 string(1) "b" 46 string(7) "b/d.php" 47 string(1) "b" 48 string(14) "phar://*/b.php" 49 string(14) "phar://*/b.php" [all …]
|
/php-src/ext/spl/tests/ |
H A D | gh11972.phpt | 38 $test_array['e']['p'][] = ['b', 'b']; 87 string(1) "b" 89 string(1) "b" 109 string(1) "b" 111 string(1) "b" 113 string(1) "b" 114 string(1) "b" 182 string(1) "b" 184 string(1) "b" 186 string(1) "b" [all …]
|
H A D | bug71028.phpt | 12 $b = "-1"; 13 cast($b); 15 var_dump(isset($a[$b])); 16 $a[$b] = "okey"; 17 var_dump($a[$b]); 18 unset($a[$b]); 19 var_dump(isset($a[$b]));
|
/php-src/ext/standard/tests/array/ |
H A D | compact_variation2.phpt | 8 $b = 'main.b'; 11 $b = 'f.b'; 13 var_dump(compact('a','b','c')); 14 var_dump(compact(array('a','b','c'))); 25 ["b"]=> 26 string(3) "f.b" 33 ["b"]=> 34 string(3) "f.b"
|
H A D | bug41686.phpt | 6 $b = array('a'=>1,'b'=>1,'c'=>2); 12 array_slice($b, 1), 13 array_slice($b, 1, 2, TRUE), 14 array_slice($b, 1, NULL, TRUE) 39 ["b"]=> 45 ["b"]=> 51 ["b"]=>
|
H A D | array_intersect_1.phpt | 19 function comp_func($a, $b) { 20 if ($a === $b) return 0; 21 return ($a > $b)? 1:-1; 36 echo '$b='.var_export($b,TRUE).";\n"; 44 echo '$b='.var_export($b,TRUE).";\n"; 52 echo '$b='.var_export($b,TRUE).";\n"; 60 echo '$b='.var_export($b,TRUE).";\n"; 94 $b=array ( 174 $b=array ( 247 $b=array ( [all …]
|
/php-src/sapi/phpdbg/tests/ |
H A D | watch_004.phpt | 12 b 3 23 >00003: $b = "a"; 24 00004: $a = $b.$b; 25 00005: $a[1] = "b"; 30 >00005: $a[1] = "b"; 42 $b = "a"; 43 $a = $b.$b; 44 $a[1] = "b";
|
/php-src/ext/filter/tests/ |
H A D | 004.phpt | 11 a=O'Henry&b=&c=<b>Bold</b> 14 echo $_GET['b']; 20 echo $_REQUEST['b']; 26 O'Henry<b>Bold</b>"quotes"\slash 27 O'Henry<b>Bold</b>"quotes"\slash
|
/php-src/ext/dom/tests/modern/spec/ |
H A D | clone_conflicting_namespace_prefix.phpt | 12 <a:root2 xmlns:a="urn:b"> 13 <a:child xmlns:b="urn:b"> 14 <b:child1 xmlns:a="urn:x">bar</b:child1> 39 <a:root2 xmlns:a="urn:b"> 40 <a:child xmlns:b="urn:b"> 41 <b:child1 xmlns:a="urn:x">bar</b:child1> 53 <a:root2 xmlns:a="urn:b"> 54 <a:child xmlns:b="urn:b"> 55 <b:child1 xmlns:a="urn:x">bar</b:child1>
|
/php-src/ext/pcre/tests/ |
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)); 45 array('/a/' => 'b', "/c/" => new Rep), 56 string(1) "b"
|
/php-src/ext/dom/tests/ |
H A D | fragments_multiple_nodes_DOMParentNode.phpt | 15 $fragment->appendChild($dom->createElement('b', '2')); 24 $fragment->appendChild($dom->createElement('b', '4')); 32 <html><p>1</p><b>2</b></html> 35 <html><p>1</p><b>2</b>foo</html> 38 <html><p>3</p><b>4</b><p>1</p><b>2</b>foo</html>
|
H A D | gh12455.phpt | 11 $element1 = $doc->createElementNS('http://test', 'b:y'); 13 $element1->appendChild($doc->createElementNS('http://test', 'b:z')); 18 $xpath->registerNamespace('b', 'http://test'); 20 $elements = $xpath->query('//b:z'); 25 $elements = $xpath->query('//*[name()="b:z"]'); 31 <a:x xmlns:a="http://test"><b:y xmlns:b="http://test"><b:z/></b:y></a:x> 32 string(3) "b:z"
|
/php-src/ext/simplexml/tests/ |
H A D | bug66084_1.phpt | 7 echo json_encode(simplexml_load_string('<a><b/><c><x/></c></a>')->c), "\n"; 8 echo json_encode(simplexml_load_string('<a><b/><c><x/></c></a>')), "\n"; 9 echo json_encode(simplexml_load_string('<a><b/><d/><c><x/></c></a>')), "\n"; 10 echo json_encode(simplexml_load_string('<a><b/><c><d/><x/></c></a>')), "\n"; 11 echo json_encode(simplexml_load_string('<a><b/><c><d><x/></d></c></a>')), "\n"; 15 {"b":{},"c":{"x":{}}} 16 {"b":{},"d":{},"c":{"x":{}}} 17 {"b":{},"c":{"d":{},"x":{}}} 18 {"b":{},"c":{"d":{"x":{}}}}
|
/php-src/Zend/tests/ |
H A D | foreach_list_001.phpt | 6 foreach(array(array(1,2), array(3,4)) as list($a, $b)) { 7 var_dump($a . $b); 11 array('a', 'b'), 15 foreach ($array as list($a, $b)) { 16 var_dump($a . $b); 25 foreach ($multi as list(list($a, $b), list($c, $d))) { 26 var_dump($a . $b . $c . $d); 29 foreach ($multi as $key => list(list($a, $b), list($c, $d))) { 30 var_dump($key . $a . $b . $c . $d);
|
H A D | 023.phpt | 7 $b = 'a'; 8 print $$b('test'); 30 $b = 'a'; 31 var_dump($$b()->$$b()->$b()); 35 $b = 'a'; 36 $c = 'b';
|
/php-src/tests/lang/ |
H A D | this_assignment.phpt | 10 global $a,$b; 13 $b->me(); 14 $b = new second(); 17 $b->me(); 24 global $a,$b; 27 $b->me(); 33 $b = &$a; 36 $b->who();
|
/php-src/Zend/ |
H A D | zend_sort.c | 25 if (cmp(a, b) > 0) { in zend_sort_2() 26 swp(a, b); in zend_sort_2() 36 swp(b, c); in zend_sort_3() 38 swp(a, b); in zend_sort_3() 46 swp(a, b); in zend_sort_3() 47 if (cmp(b, c) > 0) { in zend_sort_3() 48 swp(b, c); in zend_sort_3() 58 swp(b, c); in zend_sort_4() 60 swp(a, b); in zend_sort_4() 74 swp(b, c); in zend_sort_5() [all …]
|
/php-src/ext/gd/tests/ |
H A D | dashedlines.phpt | 11 $b = 0x0000ff; 13 $style = array($r, $b); 19 $p2 = imagecolorat($im, 1,5) == $b; 21 $p4 = imagecolorat($im, 3,5) == $b; 23 $p5 = imagecolorat($im, 5,5) == $b; 34 $style = array($r, $b); 40 $p2 = imagecolorat($im, 2,1) == $b; 42 $p4 = imagecolorat($im, 2,3) == $b; 44 $p6 = imagecolorat($im, 2,5) == $b; 55 $style = array($r, $b); [all …]
|