Home
last modified time | relevance | path

Searched refs:b (Results 126 – 150 of 2474) sorted by relevance

12345678910>>...99

/PHP-8.1/ext/phar/tests/
H A Dopen_for_write_newfile_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/new.php', 'wb'));
21 include $pname . '/b/c.php';
22 include $pname . '/b/new.php';
28 Warning: fopen(phar://%sopen_for_write_newfile_b.phar.php/b/new.php): Failed to open stream: phar e…
30 This is b/c
32 … include(phar://%sopen_for_write_newfile_b.phar.php/b/new.php): Failed to open stream: phar error:…
34 Warning: include(): Failed opening 'phar://%sopen_for_write_newfile_b.phar.php/b/new.php' for inclu…
H A Dopen_for_write_newfile_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/new.php', 'wb'));
21 include $pname . '/b/c.php';
22 include $pname . '/b/new.php';
28 Warning: fopen(phar://%sopen_for_write_newfile_c.phar.php/b/new.php): Failed to open stream: phar e…
30 This is b/c
32 … include(phar://%sopen_for_write_newfile_c.phar.php/b/new.php): Failed to open stream: phar error:…
34 Warning: include(): Failed opening 'phar://%sopen_for_write_newfile_c.phar.php/b/new.php' for inclu…
H A Dpharfileinfo_compression.phpt16 $phar['a/b'] = 'hi there';
18 $b = $phar['a/b'];
21 $b->isCompressed(25);
26 $b->compress(25);
32 $c = $tar['a/b'];
45 $b->compress(Phar::GZ);
50 var_dump($b->compress(Phar::GZ));
51 var_dump($b->compress(Phar::GZ));
59 $phar['a/b']->decompress();
69 var_dump($b->decompress());
[all …]
H A Dphar_oo_compressed_001.phpt17 $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());
55 string(1) "b"
61 string(5) "new b"
H A Dphar_oo_compressed_001b.phpt17 $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());
55 string(1) "b"
61 string(5) "new b"
/PHP-8.1/Zend/tests/named_params/
H A Dcall_user_func_array.phpt7 $test = function($a = 'a', $b = 'b', $c = 'c') {
8 echo "a = $a, b = $b, c = $c\n";
50 a = A, b = B, c = c
51 a = A, b = B, c = c
52 a = A, b = b, c = C
62 a = A, b = B, c = c
63 a = A, b = B, c = c
64 a = A, b = b, c = C
/PHP-8.1/ext/reflection/tests/
H A DReflectionProperty_setAccessible.phpt56 $b = new B;
61 var_dump($protected->getValue($b));
63 var_dump($private->getValue($b));
65 $protected->setValue($b, 'e');
67 $private->setValue($b, 'g');
71 var_dump($private->getValue($b));
79 var_dump($private->getValue($b));
81 $protected->setValue($b, 'h');
83 $private->setValue($b, 'j');
87 var_dump($private->getValue($b));
[all …]
/PHP-8.1/ext/opcache/tests/opt/
H A Dgh11170.phpt16 $b = -20;
19 $b = -10;
22 return $a | $b;
28 $b = -27;
31 $b = -25;
34 return $a & $b;
61 ; #1.CV1($b) NOVAL [undef]
79 0005 #5.CV1($b) [long] RANGE[-20..-20] = QM_ASSIGN int(-20)
97 …#9.CV1($b) [long] RANGE[-20..-10] = Phi(#5.CV1($b) [long] RANGE[-20..-20], #7.CV1($b) [long] RANGE…
107 ; #1.CV1($b) NOVAL [undef]
[all …]
/PHP-8.1/ext/standard/tests/strings/
H A Dbug35817.phpt6 $b = unpack("H3", $a);
7 var_dump($b);
10 $b = unpack("H2", $a);
11 var_dump($b);
14 $b = unpack("H", $a);
15 var_dump($b);
H A Dbug47322.phpt6 sscanf(":59:58","%s:%d:%f", $a, $b, $c);
7 echo "[$a][$b][$c]\n";
9 sscanf("15:01:58.2","%d:%f:%f", $a, $b, $c);
10 echo "[$a][$b][$c]\n";
12 sscanf("15.1111::foo","%f:%d:%s", $a, $b, $c);
13 echo "[$a][$b][$c]\n";
/PHP-8.1/ext/standard/tests/array/
H A Dbug50006.phpt14 function magic_sort_cmp($a, $b) {
16 $b = substr($b, 1);
17 if (!$a) return $b ? -1 : 0;
18 if (!$b) return 1;
19 return magic_sort_cmp($a, $b);
H A Dbug50006_1.phpt14 function magic_sort_cmp($a, $b) {
16 $b = substr($b, 1);
17 if (!$a) return $b ? -1 : 0;
18 if (!$b) return 1;
19 return magic_sort_cmp($a, $b);
H A Dbug50006_2.phpt14 function magic_sort_cmp($a, $b) {
16 $b = substr($b, 1);
17 if (!$a) return $b ? -1 : 0;
18 if (!$b) return 1;
19 return magic_sort_cmp($a, $b);
H A Darray_merge_recursive_variation9.phpt15 $arr1 = array("a" => 1, "b" => 2);
16 $arr2 = array("b" => 2, "c" => 4);
21 $arr1 = array("a" => 1.1, "b" => 2.2);
22 $arr2 = array("b" => 2.2, "c" => 3.3);
27 $arr1 = array("a" => "hello", "b" => "world");
33 $arr1 = array("a" => true, "b" => false);
34 $arr2 = array("b" => false);
52 ["b"]=>
66 ["b"]=>
80 ["b"]=>
[all …]
/PHP-8.1/ext/standard/tests/serialize/
H A Dbug71995.phpt7 public $b;
9 $this->b = new StdClass();
12 return array("b", "b");
21 Notice: serialize(): "b" is returned from __sleep() multiple times in %s on line %d
22 string(39) "O:1:"A":1:{s:1:"b";O:8:"stdClass":0:{}}"
24 ["b"]=>
/PHP-8.1/tests/lang/
H A Dfunc_get_args.004.phpt28 $b = 'original.b';
29 refVal($b, $b);
30 var_dump($b);
52 string(10) "original.b"
53 string(10) "original.b"
56 string(10) "original.b"
58 string(10) "original.b"
H A Dshort_tags.004.phpt16 <? $b=3; ?>
19 echo "{$b}";
21 <?= "{$b}"?>
29 <? $b=3; ?>
32 Warning: Undefined variable $b in %s on line %d
34 Warning: Undefined variable $b in %s on line %d
/PHP-8.1/sapi/phpdbg/tests/
H A Dwatch_005.phpt13 b 3
25 >00003: $b = "a";
26 00004: $a = $b.$b;
33 00006: $a[1] = "b";
38 >00006: $a[1] = "b";
52 $b = "a";
53 $a = $b.$b;
55 $a[1] = "b";
/PHP-8.1/sapi/fpm/fpm/
H A Dfpm_log.c100 char *s, *b; in fpm_log_write() local
144 b = buffer; in fpm_log_write()
171 *b = '%'; in fpm_log_write()
238 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", env ? env : "-"); in fpm_log_write()
265 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%zu", proc.memory); in fpm_log_write()
335 *b = '-'; in fpm_log_write()
398 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", tmp); in fpm_log_write()
405 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", proc.auth_user); in fpm_log_write()
449 b += len2; in fpm_log_write()
462 *b = *s; in fpm_log_write()
[all …]
/PHP-8.1/ext/opcache/tests/
H A Dbug75698.phpt13 $a = array("a","b","c","b");
14 $b = array();
16 @$b[$c]++; // the @ is required to crash PHP 7.2.0
17 var_dump($b);
27 ["b"]=>
/PHP-8.1/Zend/
H A Dzend_strtod.c843 (a, b) Bigint *a, *b; in mult() argument
1072 (a, b) Bigint *a, *b; in cmp() argument
1106 (a, b) Bigint *a, *b; in diff() argument
1714 b->x[b->wds++] = 1;
2021 b = lshift(b, n);
2094 b = increment(b);
2382 b = lshift(b, i);
2384 b = increment(b);
2414 b = lshift(b, b2);
3662 b->maxwds = 1 << (b->k = *(int*)b);
[all …]
/PHP-8.1/Zend/tests/
H A Dadd_001.phpt7 $b = array("str", "here");
9 $c = $a + $b;
13 $b = array(1,2,4);
15 $c = $a + $b;
19 $b = array(1,2,"a"=>"bbbbbb");
21 $c = $a + $b;
24 $a += $b;
/PHP-8.1/Zend/tests/bug67436/
H A Dbug67436_nohandler.phpt7 if (in_array($classname, array('a','b','c'))) {
14 $b = new b();
15 $b->test();
18 Warning: The magic method b::__invoke() must have public visibility in %s on line %d
19 b::test()
/PHP-8.1/ext/pdo_dblib/
H A Dphp_pdo_dblib_int.h29 # define DBERRHANDLE(a, b) dbprocerrhandle(a, b) argument
30 # define DBMSGHANDLE(a, b) dbprocmsghandle(a, b) argument
33 # define DBSETOPT(a, b, c) dbsetopt(a, b, c) argument
78 # define DBERRHANDLE(a, b) dberrhandle(b) argument
79 # define DBMSGHANDLE(a, b) dbmsghandle(b) argument
80 # define DBSETOPT(a, b, c) dbsetopt(a, b, c, -1) argument
/PHP-8.1/ext/phar/tests/tar/
H A Dopen_for_write_newfile_b.phpt20 $files['b.php'] = '<?php echo "This is b\n"; ?>';
21 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>';
30 var_dump(fopen($alias . '/b/new.php', 'wb'));
32 include $alias . '/b/c.php';
33 include $alias . '/b/new.php';
40 Warning: fopen(phar://%sopen_for_write_newfile_b.phar.tar/b/new.php): Failed to open stream: phar e…
42 This is b/c
44 … include(phar://%sopen_for_write_newfile_b.phar.tar/b/new.php): Failed to open stream: phar error:…
46 Warning: include(): Failed opening 'phar://%sopen_for_write_newfile_b.phar.tar/b/new.php' for inclu…

Completed in 78 milliseconds

12345678910>>...99