/php-src/ext/fileinfo/tests/ |
H A D | bug67647-mb.phpt | 17 $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 D | test_long_path_bug71103.phpt | 22 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 D | 009.phpt | 13 $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 D | bug67724.phpt | 13 $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 D | bug55305.phpt | 10 $f = new Foo(); 11 $f->bar =& $f->foo; 12 var_dump($f->foo); 13 var_dump($f->bar);
|
H A D | closure_059.phpt | 14 $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 D | xor_003.phpt | 7 $f = false; 9 var_dump($t ^ $f); 11 var_dump($f ^ $f);
|
/php-src/Zend/tests/numeric_strings/ |
H A D | trailling_whitespaces.phpt | 9 "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 D | array_fill.phpt | 43 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 D | ctor_visibility.phpt | 22 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 D | type_hinting_005a.phpt | 5 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 D | bug54238.phpt | 5 $f = array(array('A', 'A')); 7 $z = substr_replace($f, $f, $f, 1); 8 var_dump($z, $f);
|
H A D | strtolower.phpt | 69 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 D | vsprintf_basic3.phpt | 10 $format1 = "%f"; 11 $format2 = "%f %f"; 12 $format3 = "%f %f %f";
|
H A D | strtoupper1.phpt | 72 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 D | config.m4 | 2 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… 75 …f $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 D | addr_in_lval.phpt | 9 $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 D | inc_obj_001.phpt | 29 float(%f) 30 float(%f) 31 float(%f) 32 float(%f) 33 float(%f)
|
H A D | inc_obj_002.phpt | 29 float(%f) 30 float(%f) 31 float(%f) 32 float(%f) 33 float(%f)
|
/php-src/ext/standard/tests/streams/ |
H A D | bug78326_1.phpt | 5 $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 D | bug78326.phpt | 7 $f = tmpfile(); 8 fwrite($f, '.'); 12 rewind($f); 13 $chunks[] = stream_get_contents($f, 1000000);
|
/php-src/ext/reflection/tests/ |
H A D | ReflectionClass_hasMethod_001.phpt | 9 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 D | type_hints_002.phpt | 7 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 D | ob_start_basic_006.phpt | 9 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 D | DateInterval_write_property_return.phpt | 7 $f = 0.5; 8 var_dump($interval->f = $f); 9 var_dump($f);
|