Bug #15368 Updated: Should document {}, [], ->, and & in Operators section of the manual

From: Date: Wed, 27 Feb 2002 14:33:57 +0000
Subject: Bug #15368 Updated: Should document {}, [], ->, and & in Operators section of the manual
References: 1  Groups: php.bugs php.doc 
Request: Send a blank email to php-bugs+get-1207@lists.php.net to get a copy of this message
ID: 15368 Updated by: sander@php.net Reported By: hek@loudoun-net.com -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: N/A PHP Version: 4.1.1 New Comment: I moved the stuff to 9983. Previous Comments: ------------------------------------------------------------------------ [2002-02-07 09:37:19] hek@loudoun.net This is substantially the same as Bug#9983. ------------------------------------------------------------------------ [2002-02-04 11:14:47] hek@loudoun-net.com The operators seciot of the online PHP Manual omits mention of: {} -- used to extarct a particular character from a string (with an aside about using {} to embed variable values in strings); [] -- the array subscriptor (which is actually listed inthe operator precedence table, though mentioned nowhere else); -> -- the object property/method accessor; & -- the reference operator (also listed in the precendence table, though never explained elsewhere); => -- the array key-to-value keyword (not techniclly an operator, I know, but because it's so "punctuation-y", probably a good thing to comment on in this section). Also, the operators precendence table at http://www.php.net/manual/en/language.operators.precedence.php should probably hyperlink each operator to the appropriate page describing it. And finally, it might make more sense to put the operator precendence information (including the new and improved table with hyperlinks) right on the first page of the operators section (rather than the arithmentic operators information). ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15368&edit=1

« previous php.bugs (#1207) next »