I was just reading the documentation for PHPexit .
exit
It says that you can pass an integer (0-254), which will become the exit code ...
exit(5);
Is this only useful when working with PHP under the CLI? Can Apache use the error code for anything? Will PHP working normally always use exit code 0?
0
thank
, - , ( exit) CLI. - HTTP, .
PHP sapi. , php_cli.c exit(exit_status); . , cgi . , - .
exit(exit_status);
Source: https://habr.com/ru/post/1774006/More articles:Do I need to return multiple objects to a bad design sign? - immutabilityHow can I update where this selection condition returns the true value? - sqlhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1774003/maven-glassfish-plugin-tries-to-start-the-domain-when-it-is-already-started&usg=ALkJrhit0A9bRRLUoqfvTDk-FH5Flu4VMAHow to run Sahi tests as part of a Hudson build? - continuous-integrationSelected checkbox Android ListView - androidObjective-C Custom Getter / Setter - objective-cCan I open part of an assembly in the GAC using MEF? - .netMessageBox.Show ("Name, {0}", textBox1.Text); - c #Creating a SQL * Plus script using SQL * Plus - oracleChange iPhone sound through speaker, headphone or Bluetooth - ios4All Articles