Home
last modified time | relevance | path

Searched refs:f (Results 26 – 50 of 1040) sorted by relevance

12345678910>>...42

/php-src/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 …]
H A Dcompact_variation2.phpt10 function f() {
11 $b = 'f.b';
12 $c = 'f.c';
17 f();
26 string(3) "f.b"
28 string(3) "f.c"
34 string(3) "f.b"
36 string(3) "f.c"
/php-src/ext/standard/tests/strings/
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';
H A Dfprintf_variation_001.phpt6 $float_variation = array( "%f","%-f", "%+f", "%7.2f", "%-7.2f", "%07.2f", "%-07.2f", "%'#7.2f" );
/php-src/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);
H A Dbug81294.phpt7 $f = fopen(__DIR__ . "/bug81294.txt", "wb+");
8 $flt1 = stream_filter_append($f, "zlib.deflate", STREAM_FILTER_WRITE);
9 $flt2 = stream_filter_append($f, "string.rot13", STREAM_FILTER_WRITE);
10 fwrite($f, "test");
12 fwrite($f, "test");
14 rewind($f);
15 var_dump(urlencode(fread($f, 1024)));
/php-src/ext/spl/tests/
H A Dbug51068.phpt9 foreach ($iter as $f) {
10 var_dump($f->getFilename());
11 var_dump($f->getSize());
14 foreach ($iter as $f) {
15 var_dump($f->getFilename());
16 var_dump($f->getSize());
19 foreach ($iter as $f) {
20 var_dump($f->getFilename());
21 var_dump($f->getSize() >= 0);
/php-src/ext/standard/tests/file/
H A Dfopen_unlink.phpt8 $f = fopen($p, 'w+'),
11 fwrite($f, 'hello'),
12 fseek($f, 0),
13 fread($f, 16),
14 fwrite($f, 'world'),
15 fseek($f, 0),
16 fread($f, 16),
17 fclose($f)
H A Ddisk_free_space_variation.phpt66 float(%f)
67 float(%f)
74 float(%f)
75 float(%f)
78 float(%f)
79 float(%f)
82 float(%f)
83 float(%f)
86 float(%f)
87 float(%f)
[all …]
/php-src/sapi/cgi/tests/
H A D010.phpt13 $f = tempnam(sys_get_temp_dir(), 'cgitest');
15 putenv("TRANSLATED_PATH=".$f."/x");
16 putenv("SCRIPT_FILENAME=".$f."/x");
17 file_put_contents($f, '<?php
22 echo (`$php -n $f`);
24 file_put_contents($f, '<?php
28 echo (`$php -n $f`);
30 file_put_contents($f, '<?php
34 echo (`$php -n $f`);
38 @unlink($f);
/php-src/ext/date/tests/
H A Dbug76462.phpt2 Bug #76462 Undefined property: DateInterval::$f
6 $buggy->f += 0.01;
9 $ok->f = $ok->f + 0.01;
11 var_dump($buggy->f);
12 var_dump($ok->f);
H A DDateTimeZone_getLocation.phpt32 [latitude] => %f
33 [longitude] => %f
39 [latitude] => %f
40 [longitude] => %f
46 [latitude] => %f
47 [longitude] => %f
53 [latitude] => %f
54 [longitude] => %f
/php-src/ext/pcre/tests/
H A Dpreg_match_caseless_restrict.phpt14 var_dump(preg_match('/AskZ/iur', "A\u{17f}kZ")); // no match
18 var_dump(preg_match('/AskZ/iu', "A\u{17f}kZ")); // match
36 var_dump(preg_match('/[AskZ]+/iu', "A\u{17f}kZ")); // match
44 var_dump(preg_match('/[^s]+/iur', "A\u{17f}Z")); // match
45 var_dump(preg_match('/[^s]+/iu', "A\u{17f}Z")); // match
46 var_dump(preg_match('/[^s]+/iu', "A\u{17f}Z")); // match
51 var_dump(preg_match('/[^\x{17f}]+/iur', "AsSZ")); // match
52 var_dump(preg_match('/[^\x{17f}]+/iu', "AsSZ")); // match
55 var_dump(preg_match('/s(?r)s(?-r)s(?r:s)s/iu', "\u{17f}S\u{17f}S\u{17f}")); // match
56 var_dump(preg_match('/s(?r)s(?-r)s(?r:s)s/iu', "\u{17f}\u{17f}\u{17f}S\u{17f}")); // no match
[all …]
/php-src/ext/reflection/tests/
H A DReflectionClass_getMethod_001.phpt52 string(1) "f"
64 string(1) "f"
72 string(1) "f"
84 string(1) "f"
92 string(1) "f"
104 string(1) "f"
112 string(1) "f"
124 string(1) "f"
132 string(1) "f"
144 string(1) "f"
[all …]
H A DReflectionFiber_bug_gh11121_1.phpt5 function f() {
11 global $f;
12 var_dump((new ReflectionFiber($f))->getTrace());
16 $f = new Fiber(function() { f(); max(...[1,2,3,4,5,6,7,8,9,10,11,12]); g(); });
17 $f->start();
18 $f->resume();
H A DReflectionFiber_bug_gh11121_2.phpt6 function f() {
12 global $f;
13 var_dump((new ReflectionFiber($f))->getTrace());
17 $f = new Fiber(function() { f(); g(); });
18 $f->start();
19 $f->resume();
/php-src/ext/simplexml/tests/
H A Dbug67116.phpt19 <fs><f id="f"></f><f id="f"></f></fs>
67 [f] => Array
73 [id] => f
82 [id] => f
/php-src/ext/standard/tests/math/
H A Dhexdec_basiclong_64bit.phpt16 '7'.str_repeat('f',15),
17 str_repeat('f',16),
18 '7'.str_repeat('f',7),
19 str_repeat('f',8),
20 '7'.str_repeat('f',16),
21 str_repeat('f',18),
22 '7'.str_repeat('f',8),
23 str_repeat('f',9)
/php-src/Zend/tests/
H A Dgc_037.phpt34 float(%f)
36 float(%f)
38 float(%f)
40 float(%f)
60 float(%f)
62 float(%f)
64 float(%f)
66 float(%f)
/php-src/ext/gd/libgd/
H A Dgd_io_file.c34 FILE *f; member
37 gdIOCtx *newFileCtx (FILE * f);
49 gdIOCtx * gdNewFileCtx (FILE * f) in gdNewFileCtx() argument
55 ctx->f = f; in gdNewFileCtx()
82 return fwrite(buf, 1, size, fctx->f); in filePutbuf()
91 return fread(buf, 1, size, fctx->f); in fileGetbuf()
102 putc (b, fctx->f); in filePutchar()
110 return getc (fctx->f); in fileGetchar()
119 return (fseek (fctx->f, pos, SEEK_SET) == 0); in fileSeek()
127 return ftell (fctx->f); in fileTell()
/php-src/Zend/
H A Dzend_vm_trace_handlers.h69 FILE *f; in zend_vm_trace_finish() local
71 f = fopen("zend_vm_trace.log", "w+"); in zend_vm_trace_finish()
72 if (f) { in zend_vm_trace_finish()
75 fprintf(f, "%s "ZEND_LONG_FMT"\n", ZSTR_VAL(key), Z_LVAL_P(val)); in zend_vm_trace_finish()
77 fclose(f); in zend_vm_trace_finish()
84 FILE *f; in zend_vm_trace_init() local
87 f = fopen("zend_vm_trace.log", "r"); in zend_vm_trace_init()
88 if (f) { in zend_vm_trace_init()
93 while (!feof(f)) { in zend_vm_trace_init()
94 if (fgets(buf, sizeof(buf)-1, f)) { in zend_vm_trace_init()
[all …]
/php-src/ext/standard/tests/general_functions/
H A Dbug43293_3.phpt4 -f --f
9 $args = array(true, false, "f");
10 var_dump(getopt("f", $args), $args);
14 ["f"]=>
28 string(1) "f"
/php-src/Zend/tests/variadic/
H A Doptional_params.phpt6 function f($reqParam, $optParam = null, ...$params) {
10 f(1);
11 f(1, 2);
12 f(1, 2, 3);
13 f(1, 2, 3, 4);
14 f(1, 2, 3, 4, 5);
/php-src/ext/standard/tests/streams/
H A Dbug60455_03.phpt31 $f = fopen("test://nonempty2nd", "r");
32 while (!feof($f)) {
33 $line = stream_get_line($f, 99, "\n");
36 $f = fopen("test://", "r");
37 while (!feof($f)) {
38 $line = stream_get_line($f, 99, "\n");
41 $f = fopen("test://eofafter2nd", "r");
42 while (!feof($f)) {
43 $line = stream_get_line($f, 99, "\n");
/php-src/tests/lang/
H A Dengine_assignExecutionOrder_001.phpt6 function f() {
7 echo "in f()\n";
18 ${f()} = g();
22 $a[f()] = g();
76 in f()
82 in f()
91 in f()
100 in f()
115 in f()
127 in f()
[all …]

Completed in 61 milliseconds

12345678910>>...42