I have a PHP CLI script ( http://codepad.org/w6iyLLdv ) which stubbornly returns exit code 11, despite the exit(0)
and the lack of any apparent problem.
Advanced Bash-Scripting Guide: Appendix E. Exit Codes With Special Meanings lists nothing special about 11, and Google finds nothing about it in general nor specifically related to PHP - except possibly Are there any standard exit status codes in Linux?.
Of course I can check for an exit status of 0 or 11 in my calling code, but that's dirty.