Bug #67747 [Fbk->NoF]: Neglating integer value

From: Date: Mon, 06 Oct 2014 16:17:43 +0000
Subject: Bug #67747 [Fbk->NoF]: Neglating integer value
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-187890@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=67747&edit=1 ID: 67747 Updated by: ab@php.net Reported by: rshivakumar at outlook dot com Summary: Neglating integer value -Status: Feedback +Status: No Feedback Type: Bug Package: *General Issues Operating System: windows PHP Version: Irrelevant Block user comment: N Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2014-08-02 23:43:36] requinix@php.net http://3v4l.org/j19hZ The 0 prefix means octal so you'll get 19, not 23. http://php.net/manual/en/language.types.integer.php Is that your actual repro script or did you just make up something to type in the bug report? ------------------------------------------------------------------------ [2014-08-02 13:46:44] rshivakumar at outlook dot com 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 this bug report at https://bugs.php.net/bug.php?id=67747&edit=1

« previous php.bugs (#187890) next »