note 102661 deleted from function.define by danbrown
[email protected] Sun, 27 Feb 2011 08:24:15 -0800
| Newsgroups | php.notes |
|---|---|
| Message-ID | <[email protected]> |
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)