Bug #67747 [NEW]: Neglating integer value
| From: | rshivakumar at outlook dot com | Date: | Sat, 02 Aug 2014 13:46:45 +0000 |
| Subject: | Bug #67747 [NEW]: Neglating integer value | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-186942@lists.php.net to get a copy of this message | ||
From: rshivakumar at outlook dot com
Operating system: windows
PHP version: Irrelevant
Package: *General Issues
Bug Type: Bug
Bug description:Neglating integer value
Description:
------------
i tried to store an integer value in variable , after storing i echo
that variable i got zero.
$x=023;
echo $x; // output is 0
Test script:
---------------
$x=023;
echo $x; // output is 0
Expected result:
----------------
$x=023;
echo $x;// expected result is 23
Actual result:
--------------
$x=023;
echo $x;// Actual result is 0
--
Edit bug report at https://bugs.php.net/bug.php?id=67747&edit=1
--