PHP 4.0 Bug #6180 Updated: missing operators in docu

From: Date: Sun, 03 Sep 2000 11:40:24 +0000
Subject: PHP 4.0 Bug #6180 Updated: missing operators in docu
Groups: php.dev 
Request: Send a blank email to php-dev+get-31781@lists.php.net to get a copy of this message
ID: 6180 Updated by: waldschrott Reported By: waldschrott@php.net Status: Analyzed Bug Type: Documentation problem Assigned To: Comments: note: andi mentioned, that {} should *not* be used to access array elements. 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 ? ---------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=6180

« previous php.dev (#31781) next »