Edit report at https://bugs.php.net/bug.php?id=60037&edit=1

 ID:                 60037
 Comment by:         anon at anon dot anon
 Reported by:        seinghhaccoski at rocketmail dot com
 Summary:            The octal interpreter wrongs...
 Status:             Bogus
 Type:               Bug
 Package:            *General Issues
 Operating System:   Linux Ubuntu
 PHP Version:        5.3.8
 Block user comment: N
 Private report:     N

 New Comment:

You've gotta admit though, even by PHP standards, this is an appalling quirk.


Previous Comments:
------------------------------------------------------------------------
[2011-10-11 22:16:36] fel...@php.net

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 the documentation about the behavior with invalid octal numbers:
http://docs.php.net/integer

Thanks.

------------------------------------------------------------------------
[2011-10-11 07:59:37] seinghhaccoski at rocketmail dot com

Description:
------------
The octal interpreter wrongs...

Test script:
---------------
echo 010 + 090;

Expected result:
----------------
an error.....

Actual result:
--------------
8


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



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

Reply via email to