Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101876 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 31959 invoked from network); 15 Feb 2018 09:21:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Feb 2018 09:21:25 -0000 Authentication-Results: pb1.pair.com smtp.mail=pslacerda@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pslacerda@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.174 as permitted sender) X-PHP-List-Original-Sender: pslacerda@gmail.com X-Host-Fingerprint: 74.125.82.174 mail-ot0-f174.google.com Received: from [74.125.82.174] ([74.125.82.174:42157] helo=mail-ot0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DF/68-26725-411558A5 for ; Thu, 15 Feb 2018 04:21:24 -0500 Received: by mail-ot0-f174.google.com with SMTP id a7so22842756otk.9 for ; Thu, 15 Feb 2018 01:21:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:cc; bh=Ct44n5zB6ousQXypStElBUL00OuDxehytk+1F8fpTcM=; b=X8mZQ2HAa82/G90CmpcosNMH4xXC+/lFOWAimR18lKedfU6h/1wPkibJOUZVdqiRGj SgMzFZJ0aAuuVwL1SWqABt/r17dWcrWmgr+3OwCxiapBhl0m8qm2Zs/z9f2g8kmIblIl 1S45Azf5FSwGNEeQqyWvd4ACnU5oBagm71MhQfdwp9tfIeNXSrAAUaDL+NzB0lp7eKxp LqIoFeDfHG/19sqkIGpALNWAuR768wsqEgBUBmqg4LGpBwkS6HIeDxxUCJyPCay0Mskt 7pydAr8H6ivDv1Fn1shPljOFXuuAT2iCxuUcjpLc8yUFUPw10gA3dAsJK/CXi0vxuRYd pSJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:cc; bh=Ct44n5zB6ousQXypStElBUL00OuDxehytk+1F8fpTcM=; b=mnv3Umw/cSnF8B5w1s5MSEyWbNv4OInbsp2xFXBmx25EmmCnPisDnZriSbAlSBF/gg N2njxpQl+4v9AN3lIz0A+IJq3QX8cW3PlspInjoEpoVHmkpe0tJAC19ZkJmG/N42wO1F /TVYuNOACqBfcYV7mikiCEErHO/a86LVwBr6fEZWVjYy823IBrlbqxSnUlFwI95P7nci elICXAG+rhOBf0fhalS/r9/l//zn3X2JRpfwTx2oNtRIXLlj6Dw7yNuwMaj2YCurHY4X SqTCUpJ/A2Bh+TDUi/BzUibA9wppfms4ruBURRao4G1zM0ubpRRokr948zlKwITkzTqK N90g== X-Gm-Message-State: APf1xPAngpd8/CZICDRB7Z9oQ5feR74c3X5NsoiWmc+/gntmeKOacm7X KMETVaahSJg5IDe5i6zWSxkhrj59RSXwjfqg+ijfzQ== X-Google-Smtp-Source: AH8x226JEGTSd7sL7JckOvJs+x9BPz6KLwVXFXTcOhHiUjI1cY5Y8puJsfxhPc5KgHZRiPuxNPVBspviZivxG3Z4zTc= X-Received: by 10.157.25.166 with SMTP id k35mr1221534otk.275.1518686481414; Thu, 15 Feb 2018 01:21:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.7.195 with HTTP; Thu, 15 Feb 2018 01:21:00 -0800 (PST) In-Reply-To: <065B186D-D90B-4BB1-AB50-F8F88676B430@koalephant.com> References: <065B186D-D90B-4BB1-AB50-F8F88676B430@koalephant.com> Date: Thu, 15 Feb 2018 06:21:00 -0300 Message-ID: Cc: PHP internals Content-Type: multipart/alternative; boundary="94eb2c09cfa83ffe6105653cc032" Subject: Re: [PHP-DEV] Suggested change: change priority of new and -> From: pslacerda@gmail.com (Pedro Lacerda) --94eb2c09cfa83ffe6105653cc032 Content-Type: text/plain; charset="UTF-8" Great contribution, very sensible even if subtile. Is the kind of change that improve a lot but cause some trouble to people used to the old way or when upgrading legacy codebases. 2018-02-15 5:32 GMT-03:00 Stephen Reay : > > > On 9 Feb 2018, at 01:38, Mcmuffin Mcguffin > wrote: > > > > new $var[0] > > Is that creating an instance of the class name stored in the 0th index of > the array $var or is it creating an instance of the class name stored in > $var and accessing the 0th index using ArrayAccess? > > Cheers > > Stephen > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Atenciosamente, Pedro Lacerda --94eb2c09cfa83ffe6105653cc032--