-
-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exit code corruption #2
Comments
overloading should be disabled where it is not used, uopz.overloads config option was introduced, should we set 0 by default ? |
Yes 0 seems a safer value, as this really change php behavior. Perhaps even an option for "exit" (or 1 for each opcode...) BTW, I don't find any documentation about the ini options. |
I'll be updating manual ... hard time keeping up ... it will appear ... Will distribute ini with package too, good call ;) |
fixed in last releae, default now uopz.overloads=0, ta ;) |
I expiriencing the same trouble with uopz 2.0.6. Exit code spicified in exit() is missing. How to reproduce:
expected is 42 Exit code will be 0 regardless the value that was specified in the script. |
Noticed running "phpunit" on Horde_Service_Weather library.
PHP exit code should not 0
Without uopz, exit code is correct (reports failure)
Reproduced with php 5.4, 5.5 and 5.6, with uopz 2.0.2 and 2.0.3
Trivial test return 2 as expected.
The text was updated successfully, but these errors were encountered: