Home
last modified time | relevance | path

Searched refs:fn (Results 76 – 100 of 253) sorted by relevance

1234567891011

/php-src/Zend/tests/
H A Dclosure_use_trailing_comma.phpt7 $fn = function () use (
13 $fn();
H A Dclosure_use_auto_global.phpt7 $fn = function() use($GLOBALS) {
10 $fn();
H A Dclosure_use_variable_twice.phpt7 $fn = function() use ($a, &$a) {
10 $fn();
H A Dself_instanceof_outside_class.phpt6 $fn = function() {
13 $fn();
H A Dbug69568.phpt20 $fn = B::test();
21 echo $fn();
H A Dclosure_use_parameter_name.phpt7 $fn = function ($a) use ($a) {
10 $fn(2);
H A Ddynamic_class_const_fetch_order.phpt28 test(fn() => Foo::{foo()}::{bar()});
29 test(fn() => Foo::{bar()}::{foo()});
/php-src/ext/standard/tests/file/windows_mb_path/
H A Dtest_cp1250_to_utf8_5.phpt25 $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 Dtest_cp932_2.phpt28 $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 Dimagecolorallocate_variation6.phpt36 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 Dimagecreate_error.phpt15 fn() => imagecreate(-1, 30),
16 fn() => imagecreate(30, -1)
H A Dimagecreatetruecolor_error2.phpt17 fn() => imagecreatetruecolor(-1, 30),
18 fn() => imagecreatetruecolor(30, -1)
H A Dimagetruecolortopalette_error4.phpt18 fn() => imagetruecolortopalette($image, true, 0),
19 fn() => imagetruecolortopalette($image, true, -1)
H A Dbug38212-mb.phpt21 fn() => imagecreatefromgd2part($file, 0,0, -25, 10),
22 fn() => imagecreatefromgd2part($file, 0,0, 10, -25)
/php-src/ext/bz2/tests/
H A Dbug71263.phpt10 $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 D006.phpt8 $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 DtempDimFetchByRefError.phpt6 $fn = function(&$ref) {};
7 $fn([0, 1][0]);
H A DtempPropFetchByRefError.phpt6 $fn = function(&$ref) {};
7 $fn([0, 1]->prop);
/php-src/Zend/tests/closures/
H A Dclosure_from_callable_rebinding.phpt15 $fn = Closure::fromCallable([new A, 'method']);
16 $fn->call(new B);
H A Dclosure_from_callable_non_static_statically.phpt12 $fn = Closure::fromCallable(['A', 'method']);
13 $fn();
/php-src/ext/standard/tests/file/
H A Dftruncate_bug77081.phpt19 $fn = __DIR__ . DIRECTORY_SEPARATOR . "test77081";
20 unlink($fn);
/php-src/ext/zip/tests/
H A Dbug72258.phpt8 $fn = __DIR__ . DIRECTORY_SEPARATOR . "bug72258.zip";
11 $res = $zip->open($fn);
/php-src/ext/date/tests/
H A DDateInterval_construct_exceptions.phpt16 check(fn() => new DateInterval(""));
17 check(fn() => new DateInterval("2007-05-11T15:30:00Z/"));
/php-src/Zend/tests/attributes/
H A D006_filter.phpt31 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 Dopendir-002.phpt18 while ($fn=readdir($ds)) {
19 var_dump($fn);

Completed in 21 milliseconds

1234567891011