mirror of
https://github.com/php/php-src.git
synced 2024-10-02 23:36:16 +00:00
11 lines
183 B
PHP
Executable File
11 lines
183 B
PHP
Executable File
--TEST--
|
|
Bug #60978 (exit code incorrect)
|
|
--FILE--
|
|
<?php
|
|
$php = getenv('TEST_PHP_EXECUTABLE');
|
|
exec($php . ' -n -r "exit(2);"', $output, $exit_code);
|
|
echo $exit_code;
|
|
?>
|
|
--EXPECT--
|
|
2
|