PHP 4.0 Bug #6180 Updated: missing operators in docu
| From: | Bug Database | Date: | Thu, 17 Aug 2000 14:37:06 +0000 |
| Subject: | PHP 4.0 Bug #6180 Updated: missing operators in docu | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-29279@lists.php.net to get a copy of this message | ||
ID: 6180
Updated by: waldschrott
Reported By: waldschrott@php.net
Status: Feedback
Bug Type: Documentation problem
Assigned To:
Comments:
() has the highest precedence, eg.
$a = 1 && $b = 2;
($a = 1) && ($b = 3);
It was a bug report that made me thinking it should be added.
{} well, I don´t know why it works, but it works like []
echo $x{1}='test2';
var_dump($x); // results in an arry
!== you´re right, did not see
<<< well and here-docs seem to have the hightest precedence
too, similar to new
$x=1;
$a=1;
$x=!$a=<<<test
0
test;
echo $x;
echo $x;
Full Bug description available at: http://bugs.php.net/?id=6180