Home
last modified time | relevance | path

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

12345678910>>...38

/PHP-7.4/Zend/tests/
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 …]
H A Daccess_modifiers_009.phpt9 static protected function f() {return 'A::f()';}
12 static protected function f() {return 'B1::f()';}
16 var_dump(is_callable('B1::f'));
17 B1::f();
26 Fatal error: Call to protected method B1::f() from context 'B2' in %s on line %d
/PHP-7.4/ext/standard/tests/strings/
H A Dvfprintf_variation6.phpt19 '%f %+f %-f
20 %lf %Lf %4f %-4f
21 %10.4f %-10.4f %04f %04.4f
22 %\'#2f %\'2f %\'$2f %\'_2f
23 %3$f %4$f %1$f %2$f';
86 123456.000000 f -12346789.000000 12346789.000000
92 123.000000 f -123.000000 123.000000
98 1.000000 f 1.000000 1.000000
104 1.000000 f 0.000000 1.000000
H A Dsprintf_variation11.phpt24 "%f", "%hf", "%lf",
25 "%Lf", " %f", "%f ",
26 "\t%f", "\n%f", "%4f",
27 "%30f", "%[0-9]", "%*f"
52 string(1) "f"
54 string(1) "f"
63 string(1) "f"
67 string(1) "f"
69 string(1) "f"
78 string(1) "f"
H A Dfprintf_variation_001.phpt6 $float_variation = array( "%f","%-f", "%+f", "%7.2f", "%-7.2f", "%07.2f", "%-07.2f", "%'#7.2f" );
H A Dbug54238.phpt7 $f = array(array('A', 'A'));
9 $z = substr_replace($f, $f, $f, 1);
10 var_dump($z, $f);
/PHP-7.4/ext/standard/tests/array/
H A Darray_unshift_variation2.phpt131 ["f"]=>
148 ["f"]=>
162 ["f"]=>
179 ["f"]=>
193 ["f"]=>
210 ["f"]=>
224 ["f"]=>
241 ["f"]=>
255 ["f"]=>
272 ["f"]=>
[all …]
H A Darray_fill.phpt45 start: 0 num: 0 value: f
79 start: 0 num: 1 value: f
82 string(1) "f"
128 string(1) "f"
130 string(1) "f"
190 string(1) "f"
236 string(1) "f"
238 string(1) "f"
298 string(1) "f"
344 string(1) "f"
[all …]
/PHP-7.4/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-7.4/ext/pdo/
H A DMakefile.frag20 @for f in $(PDO_HEADER_FILES); do \
21 if test -f "$(top_srcdir)/$$f"; then \
22 $(INSTALL_DATA) $(top_srcdir)/$$f $(INSTALL_ROOT)$(phpincludedir)/ext/pdo; \
23 elif test -f "$(top_builddir)/$$f"; then \
24 $(INSTALL_DATA) $(top_builddir)/$$f $(INSTALL_ROOT)$(phpincludedir)/ext/pdo; \
25 elif test -f "$(top_srcdir)/ext/pdo/$$f"; then \
26 $(INSTALL_DATA) $(top_srcdir)/ext/pdo/$$f $(INSTALL_ROOT)$(phpincludedir)/ext/pdo; \
27 elif test -f "$(top_builddir)/ext/pdo/$$f"; then \
28 $(INSTALL_DATA) $(top_builddir)/ext/pdo/$$f $(INSTALL_ROOT)$(phpincludedir)/ext/pdo; \
/PHP-7.4/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);
/PHP-7.4/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)
/PHP-7.4/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-7.4/ext/standard/tests/filters/
H A Dbug81302.phpt9 $f = fopen("php://memory", "w+b");
10 $z = stream_filter_append($f, "zlib.deflate", STREAM_FILTER_WRITE, 6);
11 fwrite($f, "Testing");
13 $pos = ftell($f);
14 fseek($f, 0);
15 $count = strlen(fread($f, 1024));
16 fclose($f);
H A Dbug81294.phpt9 $f = fopen(__DIR__ . "/bug81294.txt", "wb+");
10 $flt1 = stream_filter_append($f, "zlib.deflate", STREAM_FILTER_WRITE);
11 $flt2 = stream_filter_append($f, "string.rot13", STREAM_FILTER_WRITE);
12 fwrite($f, "test");
14 fwrite($f, "test");
16 rewind($f);
17 var_dump(urlencode(fread($f, 1024)));
/PHP-7.4/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 …]
/PHP-7.4/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-7.4/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-7.4/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-7.4/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-7.4/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-7.4/ext/simplexml/tests/
H A Dbug67116.phpt21 <fs><f id="f"></f><f id="f"></f></fs>
69 [f] => Array
75 [id] => f
84 [id] => f
/PHP-7.4/ext/standard/tests/streams/
H A Dbug60455_03.phpt30 $f = fopen("test://nonempty2nd", "r");
31 while (!feof($f)) {
32 $line = stream_get_line($f, 99, "\n");
35 $f = fopen("test://", "r");
36 while (!feof($f)) {
37 $line = stream_get_line($f, 99, "\n");
40 $f = fopen("test://eofafter2nd", "r");
41 while (!feof($f)) {
42 $line = stream_get_line($f, 99, "\n");
/PHP-7.4/ext/fileinfo/tests/
H A Dbug67647-mb.phpt17 $f = __DIR__ . DIRECTORY_SEPARATOR . $f_base;
21 if (!copy($src, $f) || empty(glob($f))) {
22 die("failed to copy '$src' to '$f'");
26 var_dump($fi->file($f));
33 $f = __DIR__ . DIRECTORY_SEPARATOR . $f_base;
34 unlink($f);
/PHP-7.4/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 28 milliseconds

12345678910>>...38