xref: /php-src/Zend/tests/bug60978.phpt (revision dcc3255b)
1--TEST--
2Bug #60978 (exit code incorrect)
3--FILE--
4<?php
5exec(getenv('TEST_PHP_EXECUTABLE_ESCAPED') . ' -n -r "exit(2);"', $output, $exit_code);
6echo $exit_code;
7?>
8--EXPECT--
92
10