xref: /PHP-8.2/Zend/tests/bug60978.phpt (revision 4e0dd6b0)
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