Table 11.7. Error Levels
Value Name Description
1 Errors Unrecoverable errors that cause execution of the script to halt.
2 Warnings Recoverable errors where incorrect but script execution continues. values are passed to functions,
4 Parser Errors Errors generated by the parser, halting execution.
8 Notice A warning about a condition that maas getting the value of a variable before setting it.y or may not be an error, such
16 Core Error Error conditions reported by the operating system
32 Core Warning Warnings reported by the operating system.
Figure 11-3. error_reporting
boolean ignore_user_abort(boolean ignore)
Calling ignore_user_abort with a TRUE value for the ignore argument will cause PHP
to continue executing even when the remote client abruptly closes the connection. The
previous setting is returned. You may call ignore_user_abort with no argument, in
which case no change is made.
<?
function fakeProcess($name)
{
print("Start of fake process.
\n");
flush();
sleep(10);