We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f90c99 commit 7a9887fCopy full SHA for 7a9887f
tests/AsyncTest.php
@@ -25,13 +25,13 @@ public static function asyncifyProvider(): array
25
function (...$args) {
26
return \file_get_contents(...$args);
27
} :
28
- <<<'PHP'
+ <<<EOF
29
(
30
- function (...$args) {
31
- return \file_get_contents(...$args);
+ function (...\$args) {
+ return file_get_contents(...\$args);
32
}
33
)
34
- PHP
+ EOF
35
),
36
['foo.txt']
37
],
@@ -43,13 +43,13 @@ function (...$args) {
43
44
[
45
46
47
48
- function ($cmd) {
49
- return exec($cmd);
+ function (\$cmd) {
+ return exec(\$cmd);
50
51
52
- PHP,
+ EOF,
53
['echo "foo"'],
54
55
0 commit comments