note 102661 deleted from function.define by danbrown

From: Date: Sun, 27 Feb 2011 16:24:15 +0000
Subject: note 102661 deleted from function.define by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-177377@lists.php.net to get a copy of this message
Note Submitter: horvoje at gmail dot com ---- > > Something I found out the "hard" way today: integers starting with 0 won't work. > WRONG! Those are no integers but OCTAL numbers. Please try this <php? define('SOMECONSTANT', 020); var_dump(SOMECONSTANT); ?> ...and you'll get int(16)

« previous php.notes (#177377) next »