Doc #51805 [Opn->Csd]: There is no Errors/Exceptions section in constant() man

From: Date: Thu, 13 May 2010 08:02:55 +0000
Subject: Doc #51805 [Opn->Csd]: There is no Errors/Exceptions section in constant() man
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-4362@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=51805&edit=1 ID: 51805 Updated by: salathe@php.net Reported by: iliavlad at mail dot ru Summary: There is no Errors/Exceptions section in constant() man -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem Operating System: All PHP Version: 5.3.2 -Assigned To: +Assigned To: salathe New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. I added the Errors/Exception section noting that an E_WARNING is issued. Previous Comments: ------------------------------------------------------------------------ [2010-05-13 10:01:53] salathe@php.net Automatic comment from SVN on behalf of salathe Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=299326 Log: added errors section to constant() (closes bug #51805) ------------------------------------------------------------------------ [2010-05-13 05:19:26] iliavlad at mail dot ru Description: ------------ There is no Errors/Exceptions section in constant() man, but when check undefined constant with constant("IDONOTEXIST") there is E_WARNING in logs. Test script: --------------- <?php constant("IDONOTEXIST"); ?> Expected result: ---------------- Warning: constant(): Couldn't find constant IDONOTEXIST NULL Actual result: -------------- Warning: constant(): Couldn't find constant IDONOTEXIST NULL ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=51805&edit=1

« previous php.doc.bugs (#4362) next »