|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2017-04-02 12:42 UTC] olafvdspek at gmail dot com
Description: ------------ Could print be made equivalent to echo such that it accepts multiple arguments? > The only difference to print is that echo accepts an argument list. > The only difference to echo is that print only accepts a single argument. http://php.net/echo http://php.net/print Test script: --------------- <?php echo('A', 2, 'C'); print('A', 2, 'C'); Actual result: -------------- - PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Tue Mar 24 18:00:02 2026 UTC |
Thx The example syntax ("void echo ( string $arg1 [, string $... ] ) is still using parenthesis though it doesn't work with multiple arguments and nikic says it's not the 'correct' syntax. https://bugs.php.net/bug.php?id=74363