Home
last modified time | relevance | path

Searched refs:b (Results 201 – 225 of 2612) sorted by relevance

12345678910>>...105

/php-src/Zend/tests/array_unpack/
H A Dunpack_string_keys_compile_time.phpt6 var_dump([...['a' => 'b']]);
7 var_dump(['a' => 'X', ...['a' => 'b']]);
8 var_dump([...['a' => 'b'], 'a' => 'X']);
14 string(1) "b"
18 string(1) "b"
/php-src/ext/standard/tests/array/
H A Dcompact_basic.phpt12 $b=0.2;
19 var_dump (compact(array("a", "b", "c", "d", "e", "f")));
21 var_dump (compact("a", "b", "c", "d", "e", "f"));
22 var_dump (compact(array("keyval"=>"a", "b"=>"b")));
32 ["b"]=>
49 ["b"]=>
66 ["b"]=>
H A Dbug28974.phpt5 $a = $b = $c = array(0,1,2,3,4,5);
16 echo 'print_r(array_splice($b,2,2147483645));'."\n";
17 print_r(array_splice($b,2,2147483645));
18 echo "\$b is :";
19 print_r($b);
64 print_r(array_splice($b,2,2147483645));
72 $b is :Array
H A Darray_diff_assoc_variation8.phpt14 $array_index = array('a', 'b', 'c', 0 => 'd', 'b'); //duplicate key (0), duplicate value (b)
16 '1' => 'b',
18 'b' => '3', //key and value from array_index swapped
32 string(1) "b"
37 ["b"]=>
/php-src/ext/pcre/tests/
H A Drequest47456.phpt8 preg_match_all('/(?J)(?<chr>[ac])(?<num>\d)|(?<chr>[b])/', 'a1bc3', $m, PREG_SET_ORDER);
12 preg_match_all('/(?<chr>[ac])(?<num>\d)|(?<chr>[b])/J', 'a1bc3', $m, PREG_SET_ORDER);
33 string(1) "b"
35 string(1) "b"
43 string(1) "b"
76 string(1) "b"
78 string(1) "b"
86 string(1) "b"
H A Dpreg_replace_callback_flags.phpt21 var_dump(preg_replace_callback('/(a)|(b)/', function($matches) {
28 ['/(a)|(b)/' => function($matches) {
51 string(1) "b"
80 string(1) "b"
106 string(1) "b"
110 string(1) "b"
124 string(1) "b"
128 string(1) "b"
/php-src/ext/opcache/tests/
H A Dbug70423.phpt28 $b = 1;
29 $fn1 = function() use (&$b) {echo "$b\n"; $b++;};
30 $fn2 = function() use (&$b) {echo "$b\n"; $b++;};
31 $b = 5;
/php-src/ext/phar/tests/
H A Dopen_for_write_existing_b.phpt16 $files['b.php'] = '<?php echo "This is b\n"; ?>';
17 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>';
20 var_dump(fopen($pname . '/b/c.php', 'wb'));
21 include $pname . '/b/c.php';
26 Warning: fopen(phar://%sopen_for_write_existing_b.phar.php/b/c.php): Failed to open stream: phar er…
28 This is b/c
H A Dopen_for_write_existing_c.phpt16 $files['b.php'] = '<?php echo "This is b\n"; ?>';
17 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>';
20 var_dump(fopen($pname . '/b/c.php', 'wb'));
21 include $pname . '/b/c.php';
26 Warning: fopen(phar://%sopen_for_write_existing_c.phar.php/b/c.php): Failed to open stream: phar er…
28 This is b/c
H A Dphar_oo_compressallgz.phpt17 $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));
55 string(1) "b"
62 string(1) "b"
H A Dphar_oo_compressed_002.phpt17 $files['b'] = 'b';
26 var_dump(file_get_contents($pname . '/b'));
27 var_dump($phar['b']->isCompressed());
33 file_put_contents($pname . '/b', 'new b');
41 var_dump(file_get_contents($pname . '/b'));
42 var_dump($phar['b']->isCompressed());
58 string(1) "b"
64 string(5) "new b"
H A Dphar_oo_compressed_002b.phpt17 $files['b'] = 'b';
26 var_dump(file_get_contents($pname . '/b'));
27 var_dump($phar['b']->isCompressed());
33 file_put_contents($pname . '/b', 'new b');
41 var_dump(file_get_contents($pname . '/b'));
42 var_dump($phar['b']->isCompressed());
58 string(1) "b"
64 string(5) "new b"
H A Dcached_manifest_1.phpt10 var_dump(file_get_contents($pname . '/b/c.php'));
12 while (false !== ($b = readdir($a))) {
13 var_dump($b);
18 var_dump(is_dir($pname . '/b'));
20 var_dump(is_dir($pname . '/b/c.php'));
23 string(131) "<?php echo "in b\n";$a = fopen("index.php", "r", true);echo stream_get_contents($a);fc…
24 string(1) "b"
28 string(%d) "phar://%snophar.phar/b%cc.php"
/php-src/ext/phar/tests/cache_list/files/
H A Dphar_oo_test.inc18 $files['b.php'] = '<?php echo "This is b.php\n"; ?>';
19 $files['b/c.php'] = '<?php echo "This is b/c.php\n"; ?>';
20 $files['b/d.php'] = '<?php echo "This is b/d.php\n"; ?>';
26 2,a,b
33 2,a,b
/php-src/ext/opcache/tests/jit/
H A Dcmp_001.phpt13 $b = 0.0;
14 var_dump($a < $b);
15 var_dump($a > $b);
16 var_dump($a <= $b);
17 var_dump($a >= $b);
H A Dassign_046.phpt14 $a = $a + $a = +$a = $b;
22 Warning: Undefined variable $b in %sassign_046.php on line 6
25 Warning: Undefined variable $b in %sassign_046.php on line 6
28 Warning: Undefined variable $b in %sassign_046.php on line 6
31 Warning: Undefined variable $b in %sassign_046.php on line 6
34 Warning: Undefined variable $b in %sassign_046.php on line 6
37 Warning: Undefined variable $b in %sassign_046.php on line 6
/php-src/tests/lang/
H A D007.phpt11 global $b;
13 $b = 5;
14 echo "$a $b ";
21 echo "$a $b $c ";
23 echo "$a $b $c ";
H A Dfunc_num_args.004.phpt28 $b = 'original.b';
29 refVal($b, $b);
30 var_dump($b);
42 string(10) "original.b"
43 string(10) "original.b"
/php-src/ext/standard/tests/strings/
H A Dstrcspn.phpt6 $b = "1234";
8 var_dump($b);
9 var_dump(strcspn($a,$b));
10 var_dump(strcspn($a,$b,9));
11 var_dump(strcspn($a,$b,9,6));
H A Dbug22008.phpt12 <b>PHP!</b>
18 echo trim(strip_tags($html, '<b>'))."\n";
24 <b>PHP!</b>
/php-src/ext/intl/tests/
H A Dresourcebundle_internal.phpt10 $b = new ResourceBundle('de_DE', 'ICUDATA-region');
11 var_dump($b->get('Countries')->get('DE'));
13 $b = new ResourceBundle('icuver', 'ICUDATA');
14 var_dump($b->get('ICUVersion') !== NULL);
16 $b = new ResourceBundle('supplementalData', 'ICUDATA', false);
17 var_dump($b->get('cldrVersion') !== NULL);
/php-src/Zend/tests/
H A Dbug48215_2.phpt9 class b extends a {}
10 class c extends b {
12 b::b();
19 Fatal error: Uncaught Error: Call to undefined method b::b() in %s:%d
H A Dobjects_033.phpt18 class B extends A { public $b; }
19 $a = new B(); $a->a = 0; $a->b = 1;
20 $b = new B(); $b->a = 1; $b->b = 0;
22 var_dump($a < $b);
24 var_dump($a < $b);
/php-src/ext/filter/tests/
H A D011.phpt8 a=<b>test</b>&b=http://example.com
14 var_dump(filter_input(INPUT_GET, "b", FILTER_SANITIZE_URL));
17 filter_input(INPUT_GET, "b", FILTER_VALIDATE_FLOAT, new stdClass);
29 string(27) "&#60;b&#62;test&#60;/b&#62;"
/php-src/ext/phar/tests/files/
H A Dphar_oo_test.inc19 $files['b.php'] = '<?php echo "This is b.php\n"; ?>';
20 $files['b/c.php'] = '<?php echo "This is b/c.php\n"; ?>';
21 $files['b/d.php'] = '<?php echo "This is b/d.php\n"; ?>';
27 2,a,b
34 2,a,b

Completed in 21 milliseconds

12345678910>>...105