#39692 [Opn->Csd]: [chm] bug on language.operators.html
| From: | rquadling@php.net | Date: | Thu, 30 Nov 2006 14:43:29 +0000 |
| Subject: | #39692 [Opn->Csd]: [chm] bug on language.operators.html | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969374502@lists.php.net to get a copy of this message | ||
ID: 39692
Updated by: rquadling@php.net
Reported By: RQuadling@php.net
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: windows
PHP Version: Irrelevant
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Previous Comments:
------------------------------------------------------------------------
[2006-11-30 14:36:51] RQuadling@php.net
Description:
------------
I have found a bug on page language.operators.html
[chm date: 2006-11-21]...
In the list of assignment operators (= += -= *= /= .= %= &= |= ^= <<=
>>=), shouldn't &= actually be =&?
In testing ...
Reproduce code:
---------------
<?php
$a = 1;
$b =& $a;
$c &= $a;
echo $a, $b, $c;
++$a;
echo $a, $b, $c;
?>
Expected result:
----------------
111222
Actual result:
--------------
Notice: Undefined variable: c in D:\PHP Quickies\assignment_test.php on
line 4
110220
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39692&edit=1