Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79412 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22403 invoked from network); 4 Dec 2014 08:28:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Dec 2014 08:28:47 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.182 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.223.182 mail-ie0-f182.google.com Received: from [209.85.223.182] ([209.85.223.182:55676] helo=mail-ie0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E5/40-16128-E3B10845 for ; Thu, 04 Dec 2014 03:28:46 -0500 Received: by mail-ie0-f182.google.com with SMTP id x19so15295198ier.41 for ; Thu, 04 Dec 2014 00:28:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:content-type; bh=oiRjJ54WgBMzyRGEBA4tQ2lSDAjopKl96aQTMdimtHw=; b=CnA5g5lLj6HvVchAGRU3KREpPyATuRbiXPeSL17DZ9D80lIt2YaCnz1oNEWIB8g2XL 3DG7SBbjM5A8pUJyofdgXGNQ0Li1DUeuNriYztcaRqx5gXWOBJFDs0h1LiXtHD783UjS kYIuF1Z0cZ+4FQQrvgaHivbH97tB4+to8g0geSZk6QJEEIdxfTcOvccTTOie/IriFmlC Qw/YObsCSI4Xa1xZ5yo1RYj2O0qUfi4JHEzBt/TjqG+3vIttlxHkEts8xXnTYHXNkzH0 uKuZsHKhjYSElVv7kdxui4JIiP1DvFQj8VnVYnUsWBV+qEa4oVc7jKorNqhVbWgc5J7U 9EGQ== X-Received: by 10.50.93.6 with SMTP id cq6mr12554625igb.7.1417681723948; Thu, 04 Dec 2014 00:28:43 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.107.164.217 with HTTP; Thu, 4 Dec 2014 00:28:03 -0800 (PST) Date: Thu, 4 Dec 2014 17:28:03 +0900 X-Google-Sender-Auth: 6igQezsme-pfaLRsJ4x2TgCS6_s Message-ID: To: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=047d7b3a8c6a8f86e505095fbf99 Subject: Only variables can be passed by reference From: yohgaki@ohgaki.net (Yasuo Ohgaki) --047d7b3a8c6a8f86e505095fbf99 Content-Type: text/plain; charset=UTF-8 Hi all, I think we can get rid of this error now when literal is returned. The reason we have E_STRICT error is that legacy PHP didn't support this, I suppose. http://3v4l.org/8fISj Is it possible to allow literal as referenced parameter for PHP7? It's better to remove needless restrictions where it is possible. HHVM seems already support this. http://3v4l.org/t79rF Any comments? Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --047d7b3a8c6a8f86e505095fbf99--