From:             [EMAIL PROTECTED]
Operating system: N/A
PHP version:      4.1.1
PHP Bug Type:     Documentation problem
Bug description:  Should document {}, [], ->, and & in Operators section of the manual

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 bug report at http://bugs.php.net/?id=15368&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=15368&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=15368&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=15368&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=15368&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15368&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=15368&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=15368&r=notenoughinfo


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to