Home
last modified time | relevance | path

Searched refs:f (Results 1 – 25 of 1009) sorted by relevance

12345678910>>...41

/PHP-8.1/ext/oci8/tests/
H A Dimp_res_3.phpt117 2 f 2 f 2 f 2 f 2 f
156 2 f 2 f 2 f 2 f 2 f
195 2 f 2 f 2 f 2 f 2 f
234 2 f 2 f 2 f 2 f 2 f
273 2 f 2 f 2 f 2 f 2 f
312 2 f 2 f 2 f 2 f 2 f
351 2 f 2 f 2 f 2 f 2 f
390 2 f 2 f 2 f 2 f 2 f
429 2 f 2 f 2 f 2 f 2 f
468 2 f 2 f 2 f 2 f 2 f
[all …]
/PHP-8.1/Zend/
H A Dzend_vm_gen.php587 fputs($f,$s);
955 out($f, $code);
1668 $f = function($specs) use (&$f) {
1699 fclose($f);
2699 fclose($f);
2746 out($f, "\n");
2750 out($f, "{\n");
2830 out($f, "{\n");
2836 out($f, "}\n");
2856 out($f, "{\n");
[all …]
/PHP-8.1/ext/phar/
H A Dbuild_precommand.php32 unset($f[0]);
33 $c = count($f);
34 while ($c && (strlen($f[$c]) == 0 || $f[$c] == "\n" || $f[$c] == "\r\n")) {
35 unset($f[$c--]);
38 $f[$c] = substr($f[$c], 0, -2);
40 if (substr($f[$c], -1) == "\n") {
41 $f[$c] = substr($f[$c], 0, -1);
44 $f[$c] = substr($f[$c], 0,-2);
46 while ($c && (strlen($f[$c]) == 0 || $f[$c] == "\n" || $f[$c] == "\r\n")) {
47 unset($f[$c--]);
[all …]
/PHP-8.1/ext/standard/tests/math/
H A Dbug27646.phpt7 $f=12.3;
8 var_dump($f);
12 $f=-12.3;
13 var_dump($f);
17 $f=-INF;
22 $f=INF;
27 $f=NAN;
34 float(1%f)
36 float(1%f)
37 float(-1%f)
[all …]
/PHP-8.1/tests/output/
H A Dob_start_basic_004.phpt43 f[call:1; len:1]1
44 f[call:2; len:1]2
45 f[call:3; len:1]3
46 f[call:4; len:1]4
47 f[call:5; len:1]5
48 f[call:6; len:1]6
49 f[call:7; len:1]7
51 f[call:9; len:0]
58 f[call:5; len:0]
68 f[call:3; len:0]
[all …]
/PHP-8.1/ext/pcre/pcre2lib/
H A Dpcre2_printint.c210 if (PRINTABLE(c)) fprintf(f, "%c", c); else fprintf(f, "\\x{%x}", c); in print_custring()
220 if (PRINTABLE(c)) fprintf(f, "%c", c); else fprintf(f, "\\x{%x}", c); in print_custring_bylen()
328 fprintf(f, " "); in pcre2_printint()
352 fprintf(f, " "); in pcre2_printint()
359 fprintf(f, "\n"); in pcre2_printint()
370 fprintf(f, "\n"); in pcre2_printint()
505 fprintf(f, "{"); in pcre2_printint()
522 fprintf(f, "{"); in pcre2_printint()
535 fprintf(f, "]"); in pcre2_printint()
577 fprintf(f, "]{"); in pcre2_printint()
[all …]
/PHP-8.1/ext/openssl/tests/
H A Dopenssl_spki_export_challenge_basic.phpt53 string\(36\) \"[0-9a-f]{8}\-([0-9a-f]{4}\-){3}[0-9a-f]{12}\"
55 string\(36\) \"[0-9a-f]{8}\-([0-9a-f]{4}\-){3}[0-9a-f]{12}\"
57 string\(36\) \"[0-9a-f]{8}\-([0-9a-f]{4}\-){3}[0-9a-f]{12}\"
59 string\(36\) \"[0-9a-f]{8}\-([0-9a-f]{4}\-){3}[0-9a-f]{12}\"
61 string\(36\) \"[0-9a-f]{8}\-([0-9a-f]{4}\-){3}[0-9a-f]{12}\"
63 string\(36\) \"[0-9a-f]{8}\-([0-9a-f]{4}\-){3}[0-9a-f]{12}\"
65 string\(36\) \"[0-9a-f]{8}\-([0-9a-f]{4}\-){3}[0-9a-f]{12}\"
67 string\(36\) \"[0-9a-f]{8}\-([0-9a-f]{4}\-){3}[0-9a-f]{12}\"
69 string\(36\) \"[0-9a-f]{8}\-([0-9a-f]{4}\-){3}[0-9a-f]{12}\"
71 string\(36\) \"[0-9a-f]{8}\-([0-9a-f]{4}\-){3}[0-9a-f]{12}\"
[all …]
/PHP-8.1/tests/lang/
H A Dengine_assignExecutionOrder_008.phpt10 echo "\n" . '$i=f(): ';
11 echo $a[$i=f()][++$i];
69 $i=f(): good
70 $$x=f(): good
71 ${'i'}=f(): good
72 $i[0]=f(): good
73 $i[0][0]=f(): good
74 $i->p=f(): good
75 $i->p->q=f(): good
76 $i->p[0]=f(): good
[all …]
H A Dengine_assignExecutionOrder_009.phpt5 function f($x) {
6 echo "f($x) ";
11 var_dump(f($i=0) < f(++$i));
12 var_dump(f($i=0) <= f(++$i));
13 var_dump(f($i=0) > f(++$i));
14 var_dump(f($i=0) >= f(++$i));
27 f(0) f(1) bool(true)
28 f(0) f(1) bool(true)
29 f(0) f(1) bool(false)
30 f(0) f(1) bool(false)
H A Dbug24652.phpt6 $f = array('7' => 0);
7 var_dump($f);
8 var_dump(array_key_exists(7, $f));
9 var_dump(array_key_exists('7', $f));
13 $f = array_flip(array('7'));
14 var_dump($f);
15 var_dump(array_key_exists(7, $f));
16 var_dump(array_key_exists('7', $f));
/PHP-8.1/ext/standard/tests/strings/
H A Dsprintf_star.phpt11 printf("%.*f\n", 10, $f);
20 printf("%*f\n", 10, $f);
25 printf("%*.*f\n", 10, 3, $f);
30 printf("%1$.*2\$f\n", $f, 10);
31 printf("%.*2\$f\n", $f, 10);
32 printf("%2$.*f\n", 10, $f);
33 printf("%1$*2\$f\n", $f, 10);
34 printf("%*2\$f\n", $f, 10);
35 printf("%2$*f\n", 10, $f);
37 printf("%*2$.*3\$f\n", $f, 10, 3);
[all …]
H A Dsprintf_f.phpt2 sprintf %f
6 var_dump(sprintf("%3.2f", 1.2));
7 var_dump(sprintf("%-3.2f", 1.2));
8 var_dump(sprintf("%03.2f", 1.2));
9 var_dump(sprintf("%-03.2f", 1.2));
11 var_dump(sprintf("%5.2f", 3.4));
12 var_dump(sprintf("%-5.2f", 3.4));
13 var_dump(sprintf("%05.2f", 3.4));
14 var_dump(sprintf("%-05.2f", 3.4));
16 var_dump(sprintf("%7.2f", -5.6));
[all …]
H A Dvprintf_variation5.phpt15 "%f",
16 "%+f %-f %F",
17 "%lf %4f %-4f",
18 "%10.4f %-10.4F %04f %04.4f",
19 "%'#2f %'2f %'$2f %'_2f",
20 "%f %f %f %f",
21 "% %%f",
22 '%3$f %4$f %1$f %2$f'
H A Dprintf_h_H.phpt11 $f = 1.25;
12 printf("%g %G %h %H\n", $f, $f, $f, $f);
13 $f = 0.00000125;
14 printf("%g %G %h %H\n", $f, $f, $f, $f);
H A Dlocale_independent_float_to_string.phpt18 function print_float(float $f)
21 echo $f . "\n";
22 echo strval($f) . "\n";
23 $g = $f;
28 printf("%.2f\n", $f);
29 printf("%.2F\n", $f);
30 echo sprintf("%.2f", $f) . "\n";
35 echo serialize($f) . "\n";
40 var_dump($f);
41 debug_zval_dump($f);
[all …]
H A Dvprintf_variation6.phpt14 '%f %+f %-f
15 %lf %4f %-4f
16 %10.4f %-10.4f %04f %04.4f
17 %\'#2f %\'2f %\'$2f %\'_2f
18 %3$f %4$f %1$f %2$f';
/PHP-8.1/ext/standard/tests/file/
H A Dftruncate_bug76803.phpt8 $f = fopen($fn, "w");
9 fwrite($f, "Hello");
10 ftruncate($f, 2);
11 fwrite($f, "World");
12 fclose($f);
15 $f = fopen($fn, "w");
16 fwrite($f, "Hello");
17 ftruncate($f, 2);
18 fclose($f);
25 rewind($f);
[all …]
/PHP-8.1/Zend/tests/
H A Dfr47160.phpt49 $f = bar();
59 $f = $x($c, $m);
66 $f();
67 call_user_func($f);
72 $f();
73 call_user_func($f);
79 $f();
80 call_user_func($f);
85 $f();
86 call_user_func($f);
[all …]
H A Dbug54039.phpt9 $f = function() use($v) {
12 return $f;
15 $f = test_1(); $f();
16 $f = test_1(); $f();
20 $f = function() use($v) {
25 return $f;
28 $f = test_2(); $f();
29 $f = test_2(); $f();
40 return $f;
42 $f = test_3(); $f();
[all …]
/PHP-8.1/ext/phar/tests/
H A Dphar_oo_007.phpt24 $f = $phar['a.php'];
26 $s = $f->fstat();
32 var_dump($f->ftell());
33 var_dump($f->eof());
34 var_dump($f->fgets());
35 var_dump($f->eof());
37 var_dump($f->ftell());
38 var_dump($f->fgets());
48 $f = $phar['a.php'];
51 var_dump($f->eof());
[all …]
/PHP-8.1/ext/opcache/tests/jit/
H A Dinc_obj_004.phpt29 float(%f)
30 float(%f)
31 float(%f)
32 float(%f)
33 float(%f)
34 float(%f)
35 float(%f)
36 float(%f)
37 float(%f)
38 float(%f)
/PHP-8.1/ext/spl/tests/
H A Dbug62004.phpt5 $f = new SplFileObject(__DIR__ . '/bug62004.txt');
6 $f->setFlags(SplFileObject::SKIP_EMPTY);
7 $f->seek(0);
8 echo $f->fgets();
9 $f->seek(1);
10 echo $f->fgets();
11 $f->seek(2);
12 echo $f->fgets();
/PHP-8.1/ext/standard/tests/streams/
H A Dtemp_stream_seek.phpt6 $f = fopen('php://temp/maxmemory:1024', 'r+');
7 fwrite($f, str_repeat("1", 738));
8 fseek($f, 0, SEEK_SET);
9 fwrite($f, str_repeat("2", 512));
11 fseek($f, 0, SEEK_SET);
12 var_dump(fread($f, 16));
14 fseek($f, 0, SEEK_END);
15 var_dump(ftell($f));
/PHP-8.1/ext/standard/tests/array/
H A Darray_unshift_variation2.phpt126 ["f"]=>
143 ["f"]=>
157 ["f"]=>
174 ["f"]=>
188 ["f"]=>
205 ["f"]=>
219 ["f"]=>
236 ["f"]=>
250 ["f"]=>
267 ["f"]=>
[all …]
/PHP-8.1/ext/standard/tests/filters/
H A Dbug81302.phpt7 $f = fopen("php://memory", "w+b");
8 $z = stream_filter_append($f, "zlib.deflate", STREAM_FILTER_WRITE, 6);
9 fwrite($f, "Testing");
11 $pos = ftell($f);
12 fseek($f, 0);
13 $count = strlen(fread($f, 1024));
14 fclose($f);

Completed in 150 milliseconds

12345678910>>...41