Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72828 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88017 invoked from network); 26 Feb 2014 16:00:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Feb 2014 16:00:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.171 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.214.171 mail-ob0-f171.google.com Received: from [209.85.214.171] ([209.85.214.171:45500] helo=mail-ob0-f171.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 15/91-12475-0BF0E035 for ; Wed, 26 Feb 2014 11:00:48 -0500 Received: by mail-ob0-f171.google.com with SMTP id vb8so963707obc.2 for ; Wed, 26 Feb 2014 08:00:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=+kYEobrOCedmhgrKJx7SQ8PDodHl5m8HtCQUxrQBqEM=; b=MCcOa0kyHq9hRe49PHbHXOzjgC6EVgWUE1wbBLszLpExU/hx3jGN8l5gHSNH4ZEeQS TBb4vka7aR5i3tYGppm25vc3wMG+jGGUSdBrRs5xETsi/yS+T9PGkc5Z3GEm4YOHCLF3 Gy77uDF+v+DunJ2+pu/CEQbzSF5OSzEP/4piuKSfUukDzTC0wtGdz6bYBMnN6+wsFWSp iVI1PWrf0mKg6UoVo5fh2Sy13n2knSQj7zIAt9kmU6KW5bf+LyHjryiAHqgSl4MyF1K1 0q0+osdcGh6MfBMl82e/hmpHrXxwJ0gCv6MkVA9jM2WPkvAnoh2vM6UevKEdtmGvLvZS B9Pg== MIME-Version: 1.0 X-Received: by 10.182.47.100 with SMTP id c4mr3324001obn.38.1393430445716; Wed, 26 Feb 2014 08:00:45 -0800 (PST) Received: by 10.182.54.112 with HTTP; Wed, 26 Feb 2014 08:00:45 -0800 (PST) Date: Wed, 26 Feb 2014 17:00:45 +0100 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary=14dae93998a3bd036904f3514ed8 Subject: Trailing arguments after argument unpacking no longer allowed From: nikita.ppv@gmail.com (Nikita Popov) --14dae93998a3bd036904f3514ed8 Content-Type: text/plain; charset=ISO-8859-1 Hi internals! The implementation of the argument unpacking feature added in PHP 5.6 changed insofar that trailing "normal" arguments are no longer allowed after argument unpacking was used. Both of the following are no longer valid and will lead to a compile-time error: fn(...$array, $var); fn(...$array1, $var, ...$array2); For more info about this change and the reasons behind it, see http://git.php.net/?p=php-src.git;a=commitdiff;h=d3b484df8268f7ab31c4ac39734d4b68ce2e6159 . Hope this change is okay with everybody. That particular aspect of the feature didn't seem very popular in the first place anyways. Nikita --14dae93998a3bd036904f3514ed8--