note 92142 deleted from language.types.boolean by danbrown
| From: | danbrown@php.net | Date: | Fri, 10 Jul 2009 14:11:19 +0000 |
| Subject: | note 92142 deleted from language.types.boolean by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-158168@lists.php.net to get a copy of this message | ||
Note Submitter: moisadoru at gmail dot com
----
On my PHP Version 5.2.6-3ubuntu4.1, this code:
<?php
error_reporting(E_ALL);
ini_set('display_errors', 1);
define('TRUE', FALSE);
var_dump(TRUE);
?>
gives boolean false
It also works with "True", the only thing that throws an error is when trying to redefine
"true" (no caps).