xref: /PHP-5.5/Zend/tests/bug60978.phpt (revision 45e938ec)
1--TEST--
2Bug #60978 (exit code incorrect)
3--FILE--
4<?php
5$php = getenv('TEST_PHP_EXECUTABLE');
6exec($php . ' -n -r "exit(2);"', $output, $exit_code);
7echo $exit_code;
8?>
9--EXPECT--
102
11