summaryrefslogtreecommitdiff
path: root/sapi/cli/tests/bug71624.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/cli/tests/bug71624.phpt')
-rw-r--r--sapi/cli/tests/bug71624.phpt10
1 files changed, 5 insertions, 5 deletions
diff --git a/sapi/cli/tests/bug71624.phpt b/sapi/cli/tests/bug71624.phpt
index 67e3e8f343..8b82ebab58 100644
--- a/sapi/cli/tests/bug71624.phpt
+++ b/sapi/cli/tests/bug71624.phpt
@@ -20,11 +20,11 @@ file_put_contents($filename_txt, $txt);
$test_args = ['$argi', '$argn'];
foreach ($test_args as $test_arg) {
- if (substr(PHP_OS, 0, 3) == 'WIN') {
- var_dump(`type "$filename_txt" | "$php" -n -R "echo $test_arg . PHP_EOL;"`);
- } else {
- var_dump(`cat "$filename_txt" | "$php" -n -R 'echo $test_arg . PHP_EOL;'`);
- }
+ if (substr(PHP_OS, 0, 3) == 'WIN') {
+ var_dump(`type "$filename_txt" | "$php" -n -R "echo $test_arg . PHP_EOL;"`);
+ } else {
+ var_dump(`cat "$filename_txt" | "$php" -n -R 'echo $test_arg . PHP_EOL;'`);
+ }
}
@unlink($filename_txt);