ID: 6180
Updated by: eschmid
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Documentation problem
Operating System: *
PHP Version: 4.0 Latest CVS (15/08/2000)
New Comment:
Here docs are in the manual.
Previous Comments:
------------------------------------------------------------------------
[2000-09-03 07:40:24] [EMAIL PROTECTED]
note: andi mentioned, that {} should *not* be used to access
array elements.
------------------------------------------------------------------------
[2000-08-17 10:37:06] [EMAIL PROTECTED]
() 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] [EMAIL PROTECTED]
!== is in there, but how should
"(",")" and "{","}" and <<< HERE DOCS
fit in there ?
------------------------------------------------------------------------
[2000-08-15 14:53:08] [EMAIL PROTECTED]
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