Bug #55286 [Opn->Bgs]: error in the assigning integer values for the variables
| From: | bjori@php.net | Date: | Tue, 26 Jul 2011 14:25:32 +0000 |
| Subject: | Bug #55286 [Opn->Bgs]: error in the assigning integer values for the variables | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-162186@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55286&edit=1
ID: 55286
Updated by: bjori@php.net
Reported by: balezin at yandex dot ru
Summary: error in the assigning integer values for the
variables
-Status: Open
+Status: Bogus
Type: Bug
Package: *General Issues
Operating System: FreeBSD 8.2
PHP Version: 5.3.6
Block user comment: N
Private report: N
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
See the error on http://no2.php.net/types.integer
Previous Comments:
------------------------------------------------------------------------
[2011-07-26 14:02:33] balezin at yandex dot ru
I am sorry for my mistake: it is not a "Documentation problem" - it is a Bug.
------------------------------------------------------------------------
[2011-07-26 13:53:31] balezin at yandex dot ru
Description:
------------
# php --version
PHP 5.3.6 with Suhosin-Patch (cli) (built: Jul 21 2011 10:37:27)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
Hi! I found PHP error in the process assigning for integer variables.
Test script:
---------------
$a1=02;
$a2=2;
$a3=09;
$a4=9;
print("$a1, $a2, $a3, $a4");
Expected result:
----------------
2, 2, 9, 9
Actual result:
--------------
2, 2, 0, 9
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=55286&edit=1