note 123002 deleted from function.define by cmb

From: Date: Tue, 31 Mar 2020 12:37:27 +0000
Subject: note 123002 deleted from function.define by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-214394@lists.php.net to get a copy of this message
Note Submitter: Tomas Liubinas ---- In PHP 5 it seems it was possible to redefine predefined constants under certain circumstances. The following code will output 42 in PHP 5: <?php namespace NS; define('TRUE', 42, false); echo TRUE; ?> In PHP 7 the output is different (1).

« previous php.notes (#214394) next »