Bug #6180 Updated: missing operators in docu
| From: | derick@php.net | Date: | Mon, 17 Dec 2001 21:43:04 +0000 |
| Subject: | Bug #6180 Updated: missing operators in docu | ||
| References: | 1 | Groups: | php.dev php.doc |
| Request: | Send a blank email to php-dev+get-74194@lists.php.net to get a copy of this message | ||
ID: 6180
Updated by: derick
Reported By: waldschrott@php.net
Old Status: Analyzed
Status: Open
Bug Type: Documentation problem
Operating System: *
PHP Version: 4.0 Latest CVS (15/08/2000)
Old Assigned To: jeroen
Assigned To:
Previous Comments:
------------------------------------------------------------------------
[2000-08-17 10:37:06] waldschrott@php.net
() 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;
------------------------------------------------------------------------
[2000-08-17 10:13:12] hholzgra@php.net
!== is in there, but how should
"(",")" and "{","}" and <<< HERE DOCS
fit in there ?
------------------------------------------------------------------------
[2000-08-15 14:53:08] waldschrott@php.net
have a look at the manual "language.operators.precedence.html",
shouldn "(",")" and "{","}" and <<< HERE DOCS not
be added
here? (perhaps !==) too?
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=6180&edit=1