note 90258 added to errorfunc.constants

From: Date: Mon, 13 Apr 2009 06:55:14 +0000
Subject: note 90258 added to errorfunc.constants
Groups: php.notes 
Request: Send a blank email to php-notes+get-153134@lists.php.net to get a copy of this message
<?php switch ($errno) { /* Fatal run-time errors. * These indicate errors that can not be recovered from, such as a memory allocation problem. * Execution of the script is halted. */ case E_ERROR: break; /* Run-time warnings (non-fatal errors). * Execution of the script is not halted. */ case E_WARNING: break; /* Compile-time parse errors. * Parse errors should only be generated by the parser. */ case E_PARSE: break; /* Run-time notices. * Indicate that the script encountered something that could indicate an error, but could also happen in the normal course of running a script. */ case E_NOTICE: break; /* Fatal errors that occur during PHP's initial startup. * This is like an E_ERROR, except it is generated by the core of PHP. */ case E_CORE_ERROR: break; /* Warnings (non-fatal errors) that occur during PHP's initial startup. * This is like an E_WARNING, except it is generated by the core of PHP. */ case E_CORE_WARNING: break; /* Fatal compile-time errors. * This is like an E_ERROR, except it is generated by the Zend Scripting Engine. */ case E_COMPILE_ERROR: break; /* Compile-time warnings (non-fatal errors). * This is like an E_WARNING, except it is generated by the Zend Scripting Engine. */ case E_COMPILE_WARNING: break; /* User-generated error message. * This is like an E_ERROR, except it is generated in PHP code by * using the PHP function trigger_error(). */ case E_USER_ERROR: break; /* User-generated warning message. * This is like an E_WARNING, except it is generated in PHP code by * using the PHP function trigger_error(). */ case E_USER_WARNING: break; /* User-generated notice message. * This is like an E_NOTICE, except it is generated in PHP code by * using the PHP function trigger_error(). */ case E_USER_NOTICE: break; /* Enable to have PHP suggest changes to your code which will ensure the * best interoperability and forward compatibility of your code. */ case E_STRICT: break; /* Catchable fatal error. It indicates that a probably dangerous * error occured, but did not leave the Engine in an unstable state. * If the error is not caught by a user defined handle (see also * set_error_handler()), the application aborts as it was an E_ERROR. */ case E_RECOVERABLE_ERROR: break; /* Run-time notices. Enable this to receive warnings about code that * will not work in future versions. */ case E_DEPRECATED: break; /* User-generated warning message. This is like an E_DEPRECATED, except it * is generated in PHP code by using the PHP function trigger_error(). */ case E_USER_DEPRECATED: break; ?> ---- Server IP: 209.41.74.194 Probable Submitter: 76.99.108.57 ---- Manual Page -- http://www.php.net/manual/en/errorfunc.constants.php Edit -- https://master.php.net/note/edit/90258 Del: integrated -- https://master.php.net/note/delete/90258/integrated Del: useless -- https://master.php.net/note/delete/90258/useless Del: bad code -- https://master.php.net/note/delete/90258/bad+code Del: spam -- https://master.php.net/note/delete/90258/spam Del: non-english -- https://master.php.net/note/delete/90258/non-english Del: in docs -- https://master.php.net/note/delete/90258/in+docs Del: other reasons-- https://master.php.net/note/delete/90258 Reject -- https://master.php.net/note/reject/90258 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#153134) next »