/php-src/Zend/tests/ |
H A D | closure_use_trailing_comma.phpt | 7 $fn = function () use ( 13 $fn();
|
H A D | closure_use_auto_global.phpt | 7 $fn = function() use($GLOBALS) { 10 $fn();
|
H A D | closure_use_variable_twice.phpt | 7 $fn = function() use ($a, &$a) { 10 $fn();
|
H A D | self_instanceof_outside_class.phpt | 6 $fn = function() { 13 $fn();
|
H A D | bug69568.phpt | 20 $fn = B::test(); 21 echo $fn();
|
H A D | closure_use_parameter_name.phpt | 7 $fn = function ($a) use ($a) { 10 $fn(2);
|
H A D | dynamic_class_const_fetch_order.phpt | 28 test(fn() => Foo::{foo()}::{bar()}); 29 test(fn() => Foo::{bar()}::{foo()});
|
/php-src/ext/standard/tests/file/windows_mb_path/ |
H A D | test_cp1250_to_utf8_5.phpt | 25 $fn = $prefix . DIRECTORY_SEPARATOR . "{$item}33"; 27 $f = fopen($fn, 'w'); 35 var_dump(file_get_contents($fn)); 37 get_basename_with_cp($fn, 65001);
|
H A D | test_cp932_2.phpt | 28 $fn = $prefix . DIRECTORY_SEPARATOR . "{$item}33"; 30 $f = fopen($fn, 'w'); 38 var_dump(file_get_contents($fn)); 40 get_basename_with_cp($fn, 932);
|
/php-src/ext/gd/tests/ |
H A D | imagecolorallocate_variation6.phpt | 36 fn() => imagecolorallocate($im_palette, $value, 0, 0), 37 fn() => imagecolorallocate($im_true_color, $value, 0, 0), 38 fn() => imagecolorallocate($im_palette, 0, $value, 0), 39 fn() => imagecolorallocate($im_true_color, 0, $value, 0), 40 fn() => imagecolorallocate($im_palette, 0, 0, $value), 41 fn() => imagecolorallocate($im_true_color, 0, 0, $value)
|
H A D | imagecreate_error.phpt | 15 fn() => imagecreate(-1, 30), 16 fn() => imagecreate(30, -1)
|
H A D | imagecreatetruecolor_error2.phpt | 17 fn() => imagecreatetruecolor(-1, 30), 18 fn() => imagecreatetruecolor(30, -1)
|
H A D | imagetruecolortopalette_error4.phpt | 18 fn() => imagetruecolortopalette($image, true, 0), 19 fn() => imagetruecolortopalette($image, true, -1)
|
H A D | bug38212-mb.phpt | 21 fn() => imagecreatefromgd2part($file, 0,0, -25, 10), 22 fn() => imagecreatefromgd2part($file, 0,0, 10, -25)
|
/php-src/ext/bz2/tests/ |
H A D | bug71263.phpt | 10 $fn = "bug71263.bz2"; 31 file_put_contents($fn, $compressed); 33 $r = fopen($fn, "r"); 40 unlink($fn);
|
/php-src/Zend/tests/arrow_functions/ |
H A D | 006.phpt | 8 $id = fn&(&$x) => $x; 15 $int_fn = fn(int $x): int => $x; 23 $varargs = fn(?int... $args): array => $args;
|
/php-src/Zend/tests/varSyntax/ |
H A D | tempDimFetchByRefError.phpt | 6 $fn = function(&$ref) {}; 7 $fn([0, 1][0]);
|
H A D | tempPropFetchByRefError.phpt | 6 $fn = function(&$ref) {}; 7 $fn([0, 1]->prop);
|
/php-src/Zend/tests/closures/ |
H A D | closure_from_callable_rebinding.phpt | 15 $fn = Closure::fromCallable([new A, 'method']); 16 $fn->call(new B);
|
H A D | closure_from_callable_non_static_statically.phpt | 12 $fn = Closure::fromCallable(['A', 'method']); 13 $fn();
|
/php-src/ext/standard/tests/file/ |
H A D | ftruncate_bug77081.phpt | 19 $fn = __DIR__ . DIRECTORY_SEPARATOR . "test77081"; 20 unlink($fn);
|
/php-src/ext/zip/tests/ |
H A D | bug72258.phpt | 8 $fn = __DIR__ . DIRECTORY_SEPARATOR . "bug72258.zip"; 11 $res = $zip->open($fn);
|
/php-src/ext/date/tests/ |
H A D | DateInterval_construct_exceptions.phpt | 16 check(fn() => new DateInterval("")); 17 check(fn() => new DateInterval("2007-05-11T15:30:00Z/"));
|
/php-src/Zend/tests/attributes/ |
H A D | 006_filter.phpt | 31 print_r(array_map(fn ($a) => $a->getName(), $attr)); 36 print_r(array_map(fn ($a) => $a->getName(), $attr)); 41 print_r(array_map(fn ($a) => $a->getName(), $attr)); 46 print_r(array_map(fn ($a) => $a->getName(), $attr)); 51 print_r(array_map(fn ($a) => $a->getName(), $attr));
|
/php-src/ext/standard/tests/streams/ |
H A D | opendir-002.phpt | 18 while ($fn=readdir($ds)) { 19 var_dump($fn);
|