Bug #15368 Updated: Should document {}, [], ->, and & in Operators section of the manual
| From: | hek at loudoun dot net | Date: | Thu, 07 Feb 2002 14:37:20 +0000 |
| Subject: | Bug #15368 Updated: Should document {}, [], ->, and & in Operators section of the manual | ||
| References: | 1 | Groups: | php.dev php.doc |
| Request: | Send a blank email to php-dev+get-79528@lists.php.net to get a copy of this message | ||
ID: 15368
Updated by: hek@loudoun.net
-Reported By: hek@loudoun-net.com
+Reported By: hek@loudoun.net
Status: Open
Bug Type: Documentation problem
Operating System: N/A
PHP Version: 4.1.1
New Comment:
This is substantially the same as Bug#9983.
Previous Comments:
------------------------------------------------------------------------
[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