Bug #6180 Updated: missing operators in docu

From: Date: Mon, 17 Dec 2001 22:05:29 +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-74196@lists.php.net to get a copy of this message
ID: 6180 Updated by: eschmid Reported By: waldschrott@php.net 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] waldschrott@php.net note: andi mentioned, that {} should *not* be used to access array elements. ------------------------------------------------------------------------ [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

« previous php.dev (#74196) next »