Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101875 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29282 invoked from network); 15 Feb 2018 08:32:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Feb 2018 08:32:44 -0000 Authentication-Results: pb1.pair.com smtp.mail=php-lists@koalephant.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=php-lists@koalephant.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain koalephant.com designates 206.123.115.54 as permitted sender) X-PHP-List-Original-Sender: php-lists@koalephant.com X-Host-Fingerprint: 206.123.115.54 mail1.25mail.st Received: from [206.123.115.54] ([206.123.115.54:47016] helo=mail1.25mail.st) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FE/F7-26725-BA5458A5 for ; Thu, 15 Feb 2018 03:32:44 -0500 Received: from [10.99.191.250] (ppp-223-24-20-12.revip6.asianet.co.th [223.24.20.12]) by mail1.25mail.st (Postfix) with ESMTPSA id D8C1060420; Thu, 15 Feb 2018 08:32:34 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) X-Mailer: iPhone Mail (15D60) In-Reply-To: Date: Thu, 15 Feb 2018 15:32:31 +0700 Cc: internals@lists.php.net Content-Transfer-Encoding: quoted-printable Message-ID: <065B186D-D90B-4BB1-AB50-F8F88676B430@koalephant.com> References: To: Mcmuffin Mcguffin Subject: Re: [PHP-DEV] Suggested change: change priority of new and -> From: php-lists@koalephant.com (Stephen Reay) > On 9 Feb 2018, at 01:38, Mcmuffin Mcguffin wr= ote: >=20 > new $var[0] Is that creating an instance of the class name stored in the 0th index of th= e array $var or is it creating an instance of the class name stored in $var a= nd accessing the 0th index using ArrayAccess? Cheers Stephen=20=