Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79418 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34652 invoked from network); 4 Dec 2014 10:09:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Dec 2014 10:09:41 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.174 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.223.174 mail-ie0-f174.google.com Received: from [209.85.223.174] ([209.85.223.174:60630] helo=mail-ie0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D4/00-34106-1E230845 for ; Thu, 04 Dec 2014 05:09:39 -0500 Received: by mail-ie0-f174.google.com with SMTP id rl12so14977775iec.5 for ; Thu, 04 Dec 2014 02:09:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=yKp0RRpfCQXvqefHejy3KAdAAq3eh8jAYgJNUEak77M=; b=lgVZ0ruaervryGjx7+SBYiaNSN8rADetHKFlsFWZuK0PWdyWPup17UGeBaX9YN6ZxC c9OhBnhLzQM7T0KUaYoHh/Y3IVZnaoJtKgX0e4ZMjS5SHyFMFmd7Y9RxrGQahh6W6HOp R+wctwlkqzWc1IkX4djx4fh+OSqxzy8avsidfOPP0tND4XHCWEdYGSCw6DIzHhujVYjc WKwDggVviwem+Pse4/aXBD5/+3wSyyaYSXU+PqjaLHmeP7vXwSpIK9XnosGkHHE/2azG alIGJmqIbkBp7fbUkyz+KH2EP/ZvQgolvipSOY07OEjHsLHir2x761iAjhLUwc2GOJPA +mrg== X-Received: by 10.107.130.197 with SMTP id m66mr9122172ioi.10.1417687774589; Thu, 04 Dec 2014 02:09:34 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.107.164.217 with HTTP; Thu, 4 Dec 2014 02:08:54 -0800 (PST) In-Reply-To: References: Date: Thu, 4 Dec 2014 19:08:54 +0900 X-Google-Sender-Auth: 59wVHiJ525sSGsAhOmYI3j4AVAs Message-ID: To: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a113ed0e2357d1b0509612812 Subject: Re: Only variables can be passed by reference From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a113ed0e2357d1b0509612812 Content-Type: text/plain; charset=UTF-8 Hi all, On Thu, Dec 4, 2014 at 5:28 PM, Yasuo Ohgaki wrote: > 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? > I made a little better sample code. http://3v4l.org/d51DQ I would like to hear opinions from engine experts. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a113ed0e2357d1b0509612812--