php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41414 Numbers
Submitted: 2007-05-17 11:26 UTC Modified: 2007-05-17 11:32 UTC
From: abugurnah at gmail dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.2.2 OS: Window
Private report: No CVE-ID: None
 [2007-05-17 11:26 UTC] abugurnah at gmail dot com
Description:
------------
This will be explain clearly with code

Reproduce code:
---------------
$v=0040
echo $v; //this prints 256

Expected result:
----------------
The expected result is 0040

Actual result:
--------------
256

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-05-17 11:32 UTC] scottmac@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

Numbers prefixed with 0 are octal numbers.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 14:04:04 2025 UTC