note 123898 added to migration73.new-features
| From: | yoander.valdes.yahoo.com via php-notes | Date: | Fri, 31 May 2019 11:34:03 +0000 |
| Subject: | note 123898 added to migration73.new-features | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-211148@lists.php.net to get a copy of this message | ||
"Trailing commas in function and method calls are now allowed" means function parameters,
example:
<?php
function my1() {
echo "xxxxxx\n";
}
function my2() {
echo "yyyyyy\n";
}
my1(),my2(); // PHP Parse error: syntax error
my1(,); // PHP Parse error: syntax error
my1(1,); my2(2,); // OK
?>
----
Server IP: 208.43.231.9
Probable Submitter: 82.199.157.34 (proxied: 2800:bf0:85:1162:688a:9799:8301:9d36)
----
Manual Page -- http://php.net/manual/en/migration73.new-features.php
Edit -- https://master.php.net/note/edit/123898
Del: integrated -- https://master.php.net/note/delete/123898/integrated
Del: useless -- https://master.php.net/note/delete/123898/useless
Del: bad code -- https://master.php.net/note/delete/123898/bad+code
Del: spam -- https://master.php.net/note/delete/123898/spam
Del: non-english -- https://master.php.net/note/delete/123898/non-english
Del: in docs -- https://master.php.net/note/delete/123898/in+docs
Del: other reasons-- https://master.php.net/note/delete/123898
Reject -- https://master.php.net/note/reject/123898
Search -- https://master.php.net/manage/user-notes.php