note 88935 added to errorfunc.constants

From: Date: Sat, 14 Feb 2009 01:39:16 +0000
Subject: note 88935 added to errorfunc.constants
Groups: php.notes 
Request: Send a blank email to php-notes+get-150640@lists.php.net to get a copy of this message
this code can tell what E_ALL includes on your PHP platform: $arrayErrorLevelName = array( 'E_ERROR', 'E_WARNING', 'E_PARSE', 'E_NOTICE', 'E_CORE_ERROR', 'E_CORE_WARNING', 'E_COMPILE_ERROR', 'E_COMPILE_WARNING', 'E_USER_ERROR', 'E_USER_WARNING', 'E_USER_NOTICE', 'E_STRICT', 'E_RECOVERABLE_ERROR', 'E_DEPRECATED', 'E_USER_DEPRECATED' ); echo "<pre>On PHP " . phpversion() . "\nE_ALL includes\n--------------\n";; foreach ($arrayErrorLevelName as $errorLevelName) { eval("if ($errorLevelName & E_ALL) echo(\"$errorLevelName\n\");"); } ---- Server IP: 64.71.164.2 Probable Submitter: 65.46.255.194 ---- Manual Page -- http://www.php.net/manual/en/errorfunc.constants.php Edit -- https://master.php.net/note/edit/88935 Del: integrated -- https://master.php.net/note/delete/88935/integrated Del: useless -- https://master.php.net/note/delete/88935/useless Del: bad code -- https://master.php.net/note/delete/88935/bad+code Del: spam -- https://master.php.net/note/delete/88935/spam Del: non-english -- https://master.php.net/note/delete/88935/non-english Del: in docs -- https://master.php.net/note/delete/88935/in+docs Del: other reasons-- https://master.php.net/note/delete/88935 Reject -- https://master.php.net/note/reject/88935 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#150640) next »