Doc #66772 [NEW]: Comma operator has insufficient documentation

From: Date: Tue, 25 Feb 2014 20:35:19 +0000
Subject: Doc #66772 [NEW]: Comma operator has insufficient documentation
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-11018@lists.php.net to get a copy of this message
From: cmbecker69 at gmx dot de Operating system: * PHP version: Irrelevant Package: Documentation problem Bug Type: Documentation Problem Bug description:Comma operator has insufficient documentation Description: ------------ The section "Operator Precedence"[1] lists all operators and gives a link to the manual section where they are described; for the comma operator it only says "many uses". It seems to be appropriate to list these many uses in an own section. OTOH, from what I can tell from Zend/zend_language_parser.y[2] the only actual place where the comma is used as operator (opposed to a list delimiter) is inside for_expr. This usage is explained in the "for" section[3]. If this is indeed the only use, the operator precendence table seems to be in error. [1] <http://www.php.net/manual/en/language.operators.precedence.php> [2] <http://lxr.php.net/xref/PHP_5_5/Zend/zend_language_parser.y> [3] <http://www.php.net/manual/en/control-structures.for.php> -- Edit bug report at https://bugs.php.net/bug.php?id=66772&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66772&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66772&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66772&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=66772&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=66772&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=66772&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=66772&r=needscript Try newer version: https://bugs.php.net/fix.php?id=66772&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=66772&r=support Expected behavior: https://bugs.php.net/fix.php?id=66772&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=66772&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=66772&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=66772&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66772&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=66772&r=dst IIS Stability: https://bugs.php.net/fix.php?id=66772&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=66772&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=66772&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=66772&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=66772&r=mysqlcfg

« previous php.doc.bugs (#11018) next »