Home
last modified time | relevance | path

Searched refs:b (Results 226 – 250 of 2216) sorted by relevance

12345678910>>...89

/PHP-7.2/ext/sqlite3/tests/
H A Dsqlite3_25_create_aggregate.phpt25 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 D029.phpt17 $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 D027.phpt16 $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 DreturnByReference.003.phpt18 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 DreturnByReference.004.phpt20 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 DreturnByReference.005.phpt21 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 DforeachLoopObjects.006.phpt8 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 D033.phpt17 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&#60;&#62;() O…
26 full_special_chars PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc&lt;&gt;() 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 Dbug69202.phpt7 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 Dmergesort.c149 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 Djson_encode_unescaped_slashes.phpt7 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 Dbug43495.phpt8 $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 Darray_diff_uassoc_basic.phpt9 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 Dbug72813.phpt7 private $props = ['a' => 'text', 'b' => 1];
16 if ($prop === 'b') $value = [$value];
27 $obj->b = $obj->b;
36 [b] => Array
H A Dinter_04.phpt7 function b();
10 interface b {
11 function b();
14 interface c extends a, b {
H A Ddebug_print_backtrace_limit.phpt6 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 DSplObjectStorage_removeAllExcept_basic.phpt9 $b = (object) 'b';
14 $foo->attach($b);
17 $bar->attach($b);
22 var_dump($foo->contains($b));
H A Darray_022.phpt18 $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 Dchunk_split.phpt11 $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 Dbug71190.phpt5 $b = [0, 1, 2];
7 var_dump($b);
8 substr_replace("test", $b, "1");
9 var_dump($b);
H A Dstrnatcasecmp_variation1.phpt22 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 Dvprintf_basic4.phpt14 $format1 = "%b";
15 $format2 = "%b %b";
16 $format3 = "%b %b %b";
/PHP-7.2/sapi/cgi/tests/
H A D004.phpt43 <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 Dclone_004.phpt13 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 DissetOnTemp.phpt10 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));

Completed in 84 milliseconds

12345678910>>...89