Home
last modified time | relevance | path

Searched refs:f (Results 51 – 75 of 1040) sorted by relevance

12345678910>>...42

/php-src/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-src/ext/standard/tests/file/windows_mb_path/
H A Dtest_long_path_bug71103.phpt22 foreach (array($foo, $bar) as $f) {
23 touch($f);
25 $foo_obj = new \SplFileInfo($f);
27 $f,
28 strlen($f) > 260, /* exceeds _MAX_PATH */
29 file_exists($f),
31 is_readable($f),
33 is_writable($f),
37 unlink($f);
/php-src/sapi/cgi/tests/
H A D009.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 var_dump($_SERVER["TRANSLATED_PATH"]); ?>');
19 echo (`$php -n $f`);
23 @unlink($f);
/php-src/ext/zlib/tests/
H A Dbug67724.phpt13 $f = fopen(__DIR__."/bug67724.gz.gz", "rb")
15 stream_filter_append($f, "zlib.inflate", STREAM_FILTER_READ, ["window" => 30]);
16 stream_filter_append($f, "zlib.inflate", STREAM_FILTER_READ, ["window" => 30]);
17 for ($i = 0; !feof($f); $i += strlen(fread($f, 0x1000)))
19 fclose($f);
/php-src/Zend/tests/
H A Dbug55305.phpt10 $f = new Foo();
11 $f->bar =& $f->foo;
12 var_dump($f->foo);
13 var_dump($f->bar);
H A Dclosure_059.phpt14 $f = function (A $a){};
16 $f($a);
17 $f->__invoke($a);
18 call_user_func(array($f,"__invoke"), $a);
21 $f($b);
26 $f->__invoke($b);
31 call_user_func(array($f,"__invoke"), $b);
H A Dxor_003.phpt7 $f = false;
9 var_dump($t ^ $f);
11 var_dump($f ^ $f);
/php-src/Zend/tests/numeric_strings/
H A Dtrailling_whitespaces.phpt9 "123 \t\n\r\v\f",
13 " \t\n\r\v\f123 \t\n\r\v\f",
16 "123.0 \t\n\r\v\f",
20 " \t\n\r\v\f123 \t\n\r\v\f",
23 "123e0 \t\n\r\v\f",
27 " \t\n\r\v\f123e0 \t\n\r\v\f"
33 function takes_float(float $f) {
34 \assert($f === 123.0);
/php-src/ext/standard/tests/array/
H A Darray_fill.phpt43 string(1) "f"
77 string(1) "f"
80 string(1) "f"
123 string(1) "f"
126 string(1) "f"
151 string(1) "f"
185 string(1) "f"
231 string(1) "f"
259 string(1) "f"
293 string(1) "f"
[all …]
/php-src/tests/classes/
H A Dctor_visibility.phpt22 static function f()
28 Derived::f();
37 static function f()
43 TestPriv::f();
53 static function f()
59 DerivedPriv::f();
72 #1 %s(%d): DerivedPriv::f()
H A Dtype_hinting_005a.phpt5 Class C { function f(array $a) {} }
8 Class D1 extends C { function f(array $a) {} }
11 Class D2 extends C { function f(SomeClass $a) {} }
14 Fatal error: Declaration of D2::f(SomeClass $a) must be compatible with C::f(array $a) in %s on lin…
/php-src/ext/standard/tests/strings/
H A Dbug54238.phpt5 $f = array(array('A', 'A'));
7 $z = substr_replace($f, $f, $f, 1);
8 var_dump($z, $f);
H A Dstrtolower.phpt69 0f => 0f
85 1f => 1f
101 2f => 2f
117 3f => 3f
133 4f => 6f
149 5f => 5f
165 6f => 6f
181 7f => 7f
197 8f => 8f
213 9f => 9f
H A Dvsprintf_basic3.phpt10 $format1 = "%f";
11 $format2 = "%f %f";
12 $format3 = "%f %f %f";
H A Dstrtoupper1.phpt72 0f => 0f
88 1f => 1f
104 2f => 2f
120 3f => 3f
136 4f => 4f
152 5f => 5f
168 6f => 4f
184 7f => 7f
200 8f => 8f
216 9f => 9f
/php-src/ext/ldap/
H A Dconfig.m42 if test -f $1/include/ldap.h; then
6 elif test -f $1/ldap/public/ldap.h; then
27 if test -f $OCISDKRPMINC/ldap.h; then
32 elif test -f $1/sdk/include/ldap.h; then
71 … test -f $LDAP_LIBDIR/liblber.a || test -f $LDAP_LIBDIR/liblber.$SHLIB_SUFFIX_NAME || test -f $LDA…
75f $LDAP_LIBDIR/libldap.$SHLIB_SUFFIX_NAME || test -f $LDAP_LIBDIR/libldap.$SHLIB_SUFFIX_NAME.3 || …
78 …elif test -f $LDAP_LIBDIR/libclntsh.$SHLIB_SUFFIX_NAME.12.1 || test -f $LDAP_LIBDIR/$MACHINE_INCLU…
82 …elif test -f $LDAP_LIBDIR/libclntsh.$SHLIB_SUFFIX_NAME.11.1 || test -f $LDAP_LIBDIR/$MACHINE_INCLU…
86 …elif test -f $LDAP_LIBDIR/libclntsh.$SHLIB_SUFFIX_NAME || test -f $LDAP_LIBDIR/$MACHINE_INCLUDES/l…
/php-src/ext/ffi/tests/
H A Daddr_in_lval.phpt9 $f = FFI::cdef("typedef struct { char *bar; } other;");
12 function __construct($f) { $this->data = $f->new("other"); }
15 $container = new Container($f);
16 $data = $f->new("char[2]");
18 FFI::addr($container->getBar())[0] = $f->cast("char*", $data); // directly write it
/php-src/ext/opcache/tests/jit/
H A Dinc_obj_001.phpt29 float(%f)
30 float(%f)
31 float(%f)
32 float(%f)
33 float(%f)
H A Dinc_obj_002.phpt29 float(%f)
30 float(%f)
31 float(%f)
32 float(%f)
33 float(%f)
/php-src/ext/standard/tests/streams/
H A Dbug78326_1.phpt5 $f = fopen('php://memory', 'rw');
6 fwrite($f, str_repeat('X', 1000));
7 fseek($f, 0);
8 var_dump(strlen(stream_get_contents($f, 1024)));
H A Dbug78326.phpt7 $f = tmpfile();
8 fwrite($f, '.');
12 rewind($f);
13 $chunks[] = stream_get_contents($f, 1000000);
/php-src/ext/reflection/tests/
H A DReflectionClass_hasMethod_001.phpt9 public function f() {}
16 protected function f() {}
23 private function f() {}
34 echo " --> Check for f(): ";
35 var_dump($rc->hasMethod("f"));
46 --> Check for f(): bool(true)
51 --> Check for f(): bool(true)
56 --> Check for f(): bool(true)
61 --> Check for f(): bool(true)
66 --> Check for f(): bool(true)
[all …]
/php-src/tests/lang/
H A Dtype_hints_002.phpt7 function f(P $p = NULL) {
14 $o->f(new P);
15 $o->f();
16 $o->f(NULL);
19 Deprecated: T::f(): Implicitly marking parameter $p as nullable is deprecated, the explicit nullabl…
/php-src/tests/output/
H A Dob_start_basic_006.phpt9 function f($string) {
13 return "f[call:$i; len:$len] - $string\n";
46 var_dump(ob_start(array("f")));
49 var_dump(ob_start(array("f", "f")));
52 var_dump(ob_start(array("f", "C::g", "f", "C::g")));
55 var_dump(ob_start(array("f", "non_existent", "f")));
58 var_dump(ob_start(array("f", "non_existent", "f", "f")));
70 var_dump(ob_start(array('f', 'C::g', array(array($c, "g"), array($c, "h")))));
84 Warning: ob_start(): class "f" not found in %s on line %d
/php-src/ext/date/tests/
H A DDateInterval_write_property_return.phpt7 $f = 0.5;
8 var_dump($interval->f = $f);
9 var_dump($f);

Completed in 65 milliseconds

12345678910>>...42