mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
Merge branch 'PHP-5.4'
This commit is contained in:
commit
75cf51de50
@ -17,12 +17,12 @@ $file = dirname(__FILE__)."/012.test.php";
|
||||
|
||||
file_put_contents($file, '<?php print_r(apache_request_headers()); ?>');
|
||||
|
||||
passthru("$php $file");
|
||||
passthru("$php -n $file");
|
||||
|
||||
$names = array('HTTP_X_TEST', 'HTTP_X__TEST', 'HTTP_X_');
|
||||
foreach ($names as $name) {
|
||||
putenv($name."=".str_repeat("A", 256));
|
||||
passthru("$php -q $file");
|
||||
passthru("$php -n -q $file");
|
||||
putenv($name);
|
||||
}
|
||||
unlink($file);
|
||||
|
Loading…
Reference in New Issue
Block a user