/PHP-7.2/ext/sqlite3/tests/ |
H A D | sqlite3_25_create_aggregate.phpt | 25 var_dump($db->exec('CREATE TABLE test (a INTEGER, b INTEGER)')); 28 var_dump($db->exec("INSERT INTO test (a, b) VALUES (1, -1)")); 29 var_dump($db->exec("INSERT INTO test (a, b) VALUES (2, -2)")); 30 var_dump($db->exec("INSERT INTO test (a, b) VALUES (3, -3)")); 31 var_dump($db->exec("INSERT INTO test (a, b) VALUES (4, -4)")); 32 var_dump($db->exec("INSERT INTO test (a, b) VALUES (4, -4)")); 36 print_r($db->querySingle("SELECT S(a), S(b) FROM test", true)); 54 [S(b)] => -1,-3,-6,-10,-14
|
/PHP-7.2/ext/phar/tests/ |
H A D | 029.phpt | 17 $files['a.php'] = '<?php echo "This is a\n"; include "'.$pname.'/b.php"; ?>'; 18 $files['b.php'] = '<?php echo "This is b\n"; include "'.$pname.'/b/c.php"; ?>'; 19 $files['b/c.php'] = '<?php echo "This is b/c\n"; include "'.$pname.'/b/d.php"; ?>'; 20 $files['b/d.php'] = '<?php echo "This is b/d\n"; include "'.$pname.'/e.php"; ?>';
|
H A D | 027.phpt | 16 $files['a.php'] = '<?php echo "This is a\n"; require \''.$pname.'/b.php\'; ?>'; 17 $files['b.php'] = '<?php echo "This is b\n"; require \''.$pname.'/b/c.php\'; ?>'; 18 $files['b/c.php'] = '<?php echo "This is b/c\n"; require \''.$pname.'/b/d.php\'; ?>'; 19 $files['b/d.php'] = '<?php echo "This is b/d\n"; require \''.$pname.'/e.php\'; ?>'; 66 string(2) "/b" 68 string(%d) "phar://*/027.phar.php/b" 69 string(8) "/b/c.php" 71 string(8) "/b/d.php" 73 string(6) "/b.php"
|
/PHP-7.2/tests/lang/ |
H A D | returnByReference.003.phpt | 18 unset($a, $b); 20 $b = &returnConstantByValue(); 22 var_dump($a, $b); 25 unset($a, $b); 27 $b = &returnConstantByRef(); 29 var_dump($a, $b); 32 unset($a, $b); 34 $b = &returnVariableByRef(); 36 var_dump($a, $b);
|
H A D | returnByReference.004.phpt | 20 unset($a, $b); 22 $b = &C::returnConstantByValue(); 24 var_dump($a, $b); 27 unset($a, $b); 29 $b = &C::returnConstantByRef(); 31 var_dump($a, $b); 34 unset($a, $b); 36 $b = &C::returnVariableByRef(); 38 var_dump($a, $b);
|
H A D | returnByReference.005.phpt | 21 unset($a, $b); 23 $b = &$c->returnConstantByValue(); 25 var_dump($a, $b); 28 unset($a, $b); 30 $b = &$c->returnConstantByRef(); 32 var_dump($a, $b); 35 unset($a, $b); 37 $b = &$c->returnVariableByRef(); 39 var_dump($a, $b);
|
H A D | foreachLoopObjects.006.phpt | 8 public $b = "Original b"; 18 $obj2->b = "new b"; 27 if ($v==$obj->b) { 44 if ($v==="Original b") { 75 string(10) "Original b" 82 ["b"]=> 83 string(5) "new b" 96 string(10) "Original b" 131 ["b"]=> 132 string(10) "Original b"
|
/PHP-7.2/ext/filter/tests/ |
H A D | 033.phpt | 17 validate_domain PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc<>() O… 18 validate_url http://a.b.c … 22 string PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc() O… 23 stripped PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc() O… 24 encoded PHP 1 foo%40bar.com http%3A%2F%2Fa.b.c 1.2.3.4 123 123abc%3C%3E%28%29 O… 25 special_chars PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc<>() O… 26 full_special_chars PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc<>() O… 27 unsafe_raw PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc<>() O… 28 email PHP 1 foo@bar.com httpa.b.c 1.2.3.4 123 123abc O… 29 url PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc<>() O… [all …]
|
H A D | bug69202.phpt | 7 var_dump(filter_var("``a`b`c``", FILTER_SANITIZE_STRING, FILTER_FLAG_STRIP_BACKTICK)); 8 var_dump(filter_var("``a`b`c``", FILTER_SANITIZE_STRING, FILTER_FLAG_STRIP_LOW | FILTER_FLAG_STRIP_… 9 var_dump(filter_var("``a`b`c``", FILTER_SANITIZE_STRING, FILTER_FLAG_STRIP_HIGH | FILTER_FLAG_STRIP… 10 var_dump(filter_var("``a`b`c``", FILTER_SANITIZE_STRING, FILTER_FLAG_STRIP_LOW | FILTER_FLAG_STRIP_… 16 string(9) "``a`b`c``"
|
/PHP-7.2/main/ |
H A D | mergesort.c | 149 b = f1, t = l1; in php_mergesort() 153 b = f2, t = l2; in php_mergesort() 157 while ((b += size) < t && cmp(q, b) >sense) in php_mergesort() 169 b = p; in php_mergesort() 177 b = p; in php_mergesort() 178 while (t > b+size) { in php_mergesort() 183 b = p; in php_mergesort() 191 b = p; in php_mergesort() 192 COPY: b = t; in php_mergesort() 240 #define swap(a, b) { \ argument [all …]
|
/PHP-7.2/ext/json/tests/ |
H A D | json_encode_unescaped_slashes.phpt | 7 var_dump(json_encode('a/b')); 8 var_dump(json_encode('a/b', JSON_UNESCAPED_SLASHES)); 11 string(6) ""a\/b"" 12 string(5) ""a/b""
|
/PHP-7.2/ext/standard/tests/array/ |
H A D | bug43495.phpt | 8 $b=array("key1"=>array("key2"=>array())); 9 $b["key1"]["key2"]["key3"]=&$b; 11 array_merge_recursive($a,$b); 15 $b["key1"]["key2"]["key3"] = null;
|
H A D | array_diff_uassoc_basic.phpt | 9 function key_compare_func($a, $b) { 10 if ($a === $b) { 13 return ($a > $b) ? 1 : -1; 15 $array1 = array("a" => "green", "b" => "brown", "c" => "blue", "red"); 22 ["b"]=>
|
/PHP-7.2/Zend/tests/ |
H A D | bug72813.phpt | 7 private $props = ['a' => 'text', 'b' => 1]; 16 if ($prop === 'b') $value = [$value]; 27 $obj->b = $obj->b; 36 [b] => Array
|
H A D | inter_04.phpt | 7 function b(); 10 interface b { 11 function b(); 14 interface c extends a, b {
|
H A D | debug_print_backtrace_limit.phpt | 6 b(); 9 function b() { 25 #1 b() called at [%sdebug_print_backtrace_limit.php:3] 27 #1 b() called at [%sdebug_print_backtrace_limit.php:3] 30 #1 b() called at [%sdebug_print_backtrace_limit.php:3]
|
/PHP-7.2/ext/spl/tests/ |
H A D | SplObjectStorage_removeAllExcept_basic.phpt | 9 $b = (object) 'b'; 14 $foo->attach($b); 17 $bar->attach($b); 22 var_dump($foo->contains($b));
|
H A D | array_022.phpt | 18 $b = clone $a; 19 $b['baz'] = 'Foo'; 22 var_dump($b); 39 $b = clone $a; 40 $b['baz'] = 'Foo'; 43 var_dump($b);
|
/PHP-7.2/ext/standard/tests/strings/ |
H A D | chunk_split.phpt | 11 $b=1; 13 var_dump(chunk_split($a,$b,$c)); 16 $b=1; 18 var_dump(chunk_split($a,$b,$c)); 23 a-b-c-
|
H A D | bug71190.phpt | 5 $b = [0, 1, 2]; 7 var_dump($b); 8 substr_replace("test", $b, "1"); 9 var_dump($b);
|
H A D | strnatcasecmp_variation1.phpt | 22 class b 31 $b = new b(); 33 function str_dump($a, $b) { 34 var_dump(strnatcasecmp($a, $b)); 44 str_dump($a, $b);
|
H A D | vprintf_basic4.phpt | 14 $format1 = "%b"; 15 $format2 = "%b %b"; 16 $format3 = "%b %b %b";
|
/PHP-7.2/sapi/cgi/tests/ |
H A D | 004.phpt | 43 <b>Fatal error</b>: Uncaught Error: Cannot access private property test::$pri in %s004.test.php:8 46 thrown in <b>%s004.test.php</b> on line <b>8</b><br />
|
/PHP-7.2/tests/classes/ |
H A D | clone_004.phpt | 13 public $b = 'test'; 26 $o1->b = array(3,4); 35 $o2->b = 6; 43 ["b"]=> 60 ["b"]=> 77 ["b"]=>
|
/PHP-7.2/Zend/tests/varSyntax/ |
H A D | issetOnTemp.phpt | 10 var_dump(isset(((object) ['a' => 'b'])->a)); 11 var_dump(isset(['a' => 'b']->a)); 13 var_dump(isset((['a' => 'b'] + [])->a)); 14 var_dump(isset((['a' => 'b'] + [])->a->b));
|