Skip to content

Commit 75cf51d

Browse files
committed
Merge branch 'PHP-5.4'
2 parents 57e7c7b + ebefbdb commit 75cf51d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sapi/cgi/tests/apache_request_headers.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ $file = dirname(__FILE__)."/012.test.php";
1717

1818
file_put_contents($file, '<?php print_r(apache_request_headers()); ?>');
1919

20-
passthru("$php $file");
20+
passthru("$php -n $file");
2121

2222
$names = array('HTTP_X_TEST', 'HTTP_X__TEST', 'HTTP_X_');
2323
foreach ($names as $name) {
2424
putenv($name."=".str_repeat("A", 256));
25-
passthru("$php -q $file");
25+
passthru("$php -n -q $file");
2626
putenv($name);
2727
}
2828
unlink($file);

0 commit comments

Comments
 (0)