ID:               44549
 Updated by:       [EMAIL PROTECTED]
 Reported By:      zootsuitbrian at gmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Scripting Engine problem
 Operating System: Linux version 2.6.16.33
 PHP Version:      5.2.5
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

See about octal numbers.
http://docs.php.net/integer


Previous Comments:
------------------------------------------------------------------------

[2008-03-27 12:29:06] zootsuitbrian at gmail dot com

Description:
------------
if you use the integer literals of 08 or 09, the php parser 
interprets them as an integer of value 0.

Reproduce code:
---------------
<?php
var_dump(07, 08, 09, 10);
?>


Expected result:
----------------
int(7)
int(8)
int(9)
int(10)

Actual result:
--------------
int(7)
int(0)
int(0)
int(10)


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=44549&edit=1

Reply via email to