#40628 [Opn->Bgs]: Strange ERROR
| From: | derick@php.net | Date: | Sun, 25 Feb 2007 18:08:18 +0000 |
| Subject: | #40628 [Opn->Bgs]: Strange ERROR | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-109496@lists.php.net to get a copy of this message | ||
ID: 40628
Updated by: derick@php.net
Reported By: neel dot get at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Windows
PHP Version: 4.4.6RC1
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
Octal...
Previous Comments:
------------------------------------------------------------------------
[2007-02-25 15:27:07] neel dot get at gmail dot com
Thanks
Sorry to Assume it as Bugs
------------------------------------------------------------------------
[2007-02-25 15:22:43] neel dot basu dot z at gmail dot com
Anything integer starting with the digit 0 is represented as an octal.
------------------------------------------------------------------------
[2007-02-25 15:02:59] neel dot get at gmail dot com
Description:
------------
The function is not getting Int Argumet Properly
Reproduce code:
---------------
<?php
function hundreed($num_str)
{
echo $num_str;
}
$num = 052;
hundreed($num);
?>
Expected result:
----------------
42
Actual result:
--------------
52
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40628&edit=1