/PHP-7.2/Zend/ |
H A D | zend_sort.c | 94 if (cmp(a, b) > 0) { in zend_sort_2() 95 swp(a, b); in zend_sort_2() 105 swp(b, c); in zend_sort_3() 107 swp(a, b); in zend_sort_3() 115 swp(a, b); in zend_sort_3() 116 if (cmp(b, c) > 0) { in zend_sort_3() 117 swp(b, c); in zend_sort_3() 127 swp(b, c); in zend_sort_4() 129 swp(a, b); in zend_sort_4() 143 swp(b, c); in zend_sort_5() [all …]
|
/PHP-7.2/Zend/tests/ |
H A D | bug53958.phpt | 16 $b = 1; 17 $fn1 = function() use (&$b) {echo "$b\n"; $b++;}; 18 $fn2 = function() use (&$b) {echo "$b\n"; $b++;}; 19 $b = 5;
|
H A D | inter_03.phpt | 7 const b = 2; 10 interface b extends a { 11 const c = self::b; 14 var_dump(b::c, a::b);
|
H A D | class_alias_001.phpt | 11 $b = new bar; 13 var_dump($a == $b, $a === $b); 14 var_dump($a instanceof $b); 19 var_dump($b instanceof foo); 20 var_dump($b instanceof bar);
|
H A D | bug39127.phpt | 7 class b extends a {} 9 $b = new b; 10 var_dump(is_callable(array($b,"a"))); 11 var_dump(is_callable(array($b,"b"))); 12 var_dump(is_callable(array($b,"__construct")));
|
H A D | foreach_temp_array_expr_with_refs.phpt | 7 $b = 'b'; 9 foreach ([&$a, &$b] as &$value) { 13 var_dump($a, $b); 18 string(5) "b-foo"
|
/PHP-7.2/ext/standard/tests/math/ |
H A D | floorceil.phpt | 5 $a = ceil (-0); $b = ceil (-1); $c = ceil (-1.5); 7 var_dump ($a, $b, $c, $d, $e); 9 $a = ceil (0); $b = ceil (0.5); $c = ceil (1); 11 var_dump ($a, $b, $c, $d, $e, $f); 13 $a = floor (-0); $b = floor (-0.5); $c = floor (-1); 15 var_dump ($a, $b, $c, $d, $e, $f); 17 $a = floor (0); $b = floor (0.5); $c = floor (1); 19 var_dump ($a, $b, $c, $d, $e, $f);
|
/PHP-7.2/tests/lang/ |
H A D | static_variation_001.phpt | 24 eval(' static $b = array(10,11,12); '); 27 eval(' static $b = array(1,2,3); '); 30 eval(' static $b = array(4,5,6); '); 31 var_dump($b); 34 eval('function g2b() { static $b = array(7, 8, 9); var_dump($b); } '); 35 var_dump($b); 41 var_dump($b);
|
H A D | foreachLoopObjects.002.phpt | 8 public $b = "Original b"; 63 public $b = "Overridden b"; 183 ["b"]=> 208 ["b"]=> 229 ["b"]=> 258 ["b"]=> 283 ["b"]=> 304 ["b"]=> 333 ["b"]=> 350 ["b"]=> [all …]
|
/PHP-7.2/ext/mbstring/tests/ |
H A D | mb_ereg3.phpt | 11 $a = -1; $b = -1; $c = -1; 12 mbereg($a, $b, $c); 13 var_dump($a, $b, $c); 15 mberegi($a, $b, $c); 16 var_dump($a, $b, $c); 18 mbereg_search_init($a, $b, $c); 19 var_dump($a, $b, $c);
|
H A D | mb_ereg4.phpt | 11 $a = -1; $b = -1; $c = -1; 12 mbereg($a, $b, $c); 13 var_dump($a, $b, $c); 15 mberegi($a, $b, $c); 16 var_dump($a, $b, $c); 18 mbereg_search_init($a, $b, $c); 19 var_dump($a, $b, $c);
|
/PHP-7.2/ext/phar/tests/ |
H A D | phar_oo_compressed_001b.phpt | 17 $files['b'] = 'b'; 26 var_dump(file_get_contents($pname . '/b')); 27 var_dump($phar['b']->isCompressed()); 33 $phar['b'] = 'new b'; 34 $phar['b']->compress(Phar::BZ2); 40 var_dump(file_get_contents($pname . '/b')); 41 var_dump($phar['b']->isCompressed()); 56 string(1) "b" 62 string(5) "new b"
|
H A D | phar_oo_compressed_001.phpt | 17 $files['b'] = 'b'; 26 var_dump(file_get_contents($pname . '/b')); 27 var_dump($phar['b']->isCompressed()); 33 $phar['b'] = 'new b'; 34 $phar['b']->compress(Phar::GZ); 40 var_dump(file_get_contents($pname . '/b')); 41 var_dump($phar['b']->isCompressed()); 56 string(1) "b" 62 string(5) "new b"
|
H A D | open_for_write_newfile_c.phpt | 18 $files['b.php'] = '<?php echo "This is b\n"; ?>'; 19 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 22 $fp = fopen($pname . '/b/new.php', 'wb'); 25 include $pname . '/b/c.php'; 26 include $pname . '/b/new.php'; 33 Warning: fopen(phar://%sopen_for_write_newfile_c.phar.php/b/new.php): failed to open stream: phar e… 38 This is b/c 40 … include(phar://%sopen_for_write_newfile_c.phar.php/b/new.php): failed to open stream: phar error:… 42 Warning: include(): Failed opening 'phar://%sopen_for_write_newfile_c.phar.php/b/new.php' for inclu…
|
H A D | phar_oo_uncompressall.phpt | 17 $files['b'] = 'b'; 26 var_dump(file_get_contents($pname . '/b')); 27 var_dump($phar['b']->isCompressed()); 36 var_dump(file_get_contents($pname . '/b')); 37 var_dump($phar['b']->isCompressed(Phar::GZ)); 38 var_dump($phar['b']->isCompressed(Phar::BZ2)); 41 var_dump($phar['b']->isCompressed(Phar::BZ2)); 46 var_dump(file_get_contents($pname . '/b')); 61 string(1) "b" 68 string(1) "b" [all …]
|
H A D | open_for_write_newfile.phpt | 16 $files['b.php'] = '<?php echo "This is b\n"; ?>'; 17 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 20 $fp = fopen($pname . '/b/new.php', 'wb'); 23 include $pname . '/b/c.php'; 24 include $pname . '/b/new.php'; 31 This is b/c
|
H A D | 023.phpt | 15 $files['b.php'] = '<?php echo "This is b\n"; ?>'; 16 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 21 var_dump(file_get_contents($pname . '/b.php')); 22 var_dump(file_get_contents($pname . '/b/c.php')); 30 string(28) "<?php echo "This is b\n"; ?>" 31 string(30) "<?php echo "This is b/c\n"; ?>"
|
/PHP-7.2/tests/output/ |
H A D | bug74725.phpt | 13 <b>Fatal error</b>: Uncaught Exception: ���� in %s:5 16 thrown in <b>%s</b> on line <b>5</b><br />
|
H A D | bug75236.phpt | 17 <b>Warning</b>: file_get_contents(no/suchfile): failed to open stream: No such file or directory i…
|
/PHP-7.2/ext/standard/tests/class_object/ |
H A D | get_object_vars_basic_002.phpt | 14 public function testA($b) { 16 var_dump(get_object_vars($b)); 26 public function testB($b) { 28 var_dump(get_object_vars($b)); 33 $b = new B; 35 $b->testB($b); 37 $b->testA($b);
|
/PHP-7.2/ext/standard/tests/array/ |
H A D | array_merge_recursive_variation9.phpt | 20 $arr1 = array("a" => 1, "b" => 2); 21 $arr2 = array("b" => 2, "c" => 4); 26 $arr1 = array("a" => 1.1, "b" => 2.2); 27 $arr2 = array("b" => 2.2, "c" => 3.3); 32 $arr1 = array("a" => "hello", "b" => "world"); 38 $arr1 = array("a" => true, "b" => false); 39 $arr2 = array("b" => false); 57 ["b"]=> 71 ["b"]=> 85 ["b"]=> [all …]
|
/PHP-7.2/ext/standard/tests/strings/ |
H A D | htmlentities23.phpt | 43 string(16) "262378464646443b" 45 string(16) "262378464646443b" 48 string(16) "262378464646443b" 50 string(16) "262378464646443b" 68 string(16) "262378464646443b" 70 string(16) "262378464646443b" 78 string(16) "262378464646443b" 80 string(16) "262378464646443b" 83 string(16) "262378464646443b" 85 string(16) "262378464646443b" [all …]
|
/PHP-7.2/appveyor/ |
H A D | build_task.bat | 4 if %errorlevel% neq 0 exit /b 3 6 if %errorlevel% neq 0 exit /b 3 8 if %errorlevel% neq 0 exit /b 3 10 if %errorlevel% neq 0 exit /b 3 12 if %errorlevel% neq 0 exit /b 3 14 if %errorlevel% neq 0 exit /b 3 16 if %errorlevel% neq 0 exit /b 3 18 if %errorlevel% neq 0 exit /b 3 20 if %errorlevel% neq 0 exit /b 3 22 if %errorlevel% neq 0 exit /b 3 [all …]
|
/PHP-7.2/ext/simplexml/tests/ |
H A D | bug66084_0.phpt | 7 echo var_dump(simplexml_load_string('<a><b/><c><x/></c></a>')), "\n"; 8 echo var_dump(simplexml_load_string('<a><b/><d/><c><x/></c></a>')), "\n"; 9 echo var_dump(simplexml_load_string('<a><b/><c><d/><x/></c></a>')), "\n"; 10 echo var_dump(simplexml_load_string('<a><b/><c><d><x/></d></c></a>')), "\n"; 14 ["b"]=> 26 ["b"]=> 41 ["b"]=> 56 ["b"]=>
|
/PHP-7.2/ext/spl/tests/ |
H A D | SplDoublyLinkedList_serialization.phpt | 8 $q->enqueue("b"); 15 $s->push("b"); 29 string(1) "b" 32 string(42) "C:8:"SplQueue":22:{i:4;:s:1:"a";:s:1:"b";}" 41 string(1) "b" 52 string(1) "b" 55 string(42) "C:8:"SplStack":22:{i:6;:s:1:"a";:s:1:"b";}" 64 string(1) "b"
|