|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68633 when we apply "08+05=5" then result 5
Submitted: 2014-12-20 06:57 UTC Modified: 2014-12-20 06:59 UTC
From: ajay at idealtechnologys dot com Assigned:
Status: Not a bug Package: Strings related
PHP Version: 5.4.36 OS: ubuntu
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: ajay at idealtechnologys dot com
New email:
PHP Version: OS:


 [2014-12-20 06:57 UTC] ajay at idealtechnologys dot com
when we add 08+05 result showed 5 and we 
apply 07+5 then  showed 12.

Test script:
echo $order=08+05; 

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-12-20 06:59 UTC]
-Status: Open +Status: Not a bug
 [2014-12-20 06:59 UTC]
A leading zero means octal, but 08 is invalid so it becomes just 0.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Apr 02 09:03:46 2023 UTC