note 101860 deleted from function.define by danbrown

From: Date: Fri, 14 Jan 2011 17:35:50 +0000
Subject: note 101860 deleted from function.define by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-175752@lists.php.net to get a copy of this message
Note Submitter: sacho ---- Responding to angelos at unkreativ dot org, that is because the number 0999 signifies octal representation, in which 9 is an invalid digit. There's nothing wrong with constants and octal numbers: <?php define('test', 0123); echo test; //83 = 1*64 + 2*8 + 3

« previous php.notes (#175752) next »