dis-bench / src /php /php-src /Zend /tests /exit /bug60978.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
178 Bytes
--TEST--
Bug #60978 (exit code incorrect)
--FILE--
<?php
exec(getenv('TEST_PHP_EXECUTABLE_ESCAPED') . ' -n -r "exit(2);"', $output, $exit_code);
echo $exit_code;
?>
--EXPECT--
2