note 76532 added to function.define

From: Date: Thu, 19 Jul 2007 13:59:50 +0000
Subject: note 76532 added to function.define
Groups: php.notes 
Request: Send a blank email to php-notes+get-128726@lists.php.net to get a copy of this message
Intersting to note: I found this in php5 on windows If you try to unset a constant (which you cant but maybe you have a Jr. programmer or something). The error message that is thrown is: <?php define ("SOME_CONSTANT", true); unset (SOME_CONSTANT); ?> Parse error: parse error, unexpected ')', expecting T_PAAMAYIM_NEKUDOTAYIM ---- Server IP: 64.71.164.2 Probable Submitter: 206.34.186.161 ---- Manual Page -- http://www.php.net/manual/en/function.define.php Edit -- https://master.php.net/note/edit/76532 Del: integrated -- https://master.php.net/note/delete/76532/integrated Del: useless -- https://master.php.net/note/delete/76532/useless Del: bad code -- https://master.php.net/note/delete/76532/bad+code Del: spam -- https://master.php.net/note/delete/76532/spam Del: non-english -- https://master.php.net/note/delete/76532/non-english Del: in docs -- https://master.php.net/note/delete/76532/in+docs Del: other reasons-- https://master.php.net/note/delete/76532 Reject -- https://master.php.net/note/reject/76532 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#128726) next »