Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101881 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 66212 invoked from network); 17 Feb 2018 14:04:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Feb 2018 14:04:52 -0000 Authentication-Results: pb1.pair.com header.from=mcmuffinmcguffin@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=mcmuffinmcguffin@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.179 as permitted sender) X-PHP-List-Original-Sender: mcmuffinmcguffin@gmail.com X-Host-Fingerprint: 209.85.223.179 mail-io0-f179.google.com Received: from [209.85.223.179] ([209.85.223.179:47045] helo=mail-io0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9E/13-26725-386388A5 for ; Sat, 17 Feb 2018 09:04:51 -0500 Received: by mail-io0-f179.google.com with SMTP id p78so6961785iod.13 for ; Sat, 17 Feb 2018 06:04:51 -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:to :cc; bh=ne1ydu2UXw/x0Sl2QfKjsWcoCKfTVmaAy9U7N2GtzoQ=; b=W/sGPRweyGEn1fG4ctSsjCWT4Qaj0g40AHE7rCvm0BlTz4t6P7BE2G0vN5xpjYYIRl htiXEDAfGkXuBSbDVQJCWTNhZiiwNqzS+swZZemVJofkahEe5pOZh64s52OKgfAKnIcR WkImpI/04nIkBiuAhd6ytJrKdTufZ0JsORmkUxFXbOiKSg1zjbgmuugHv2WBDuko1/cc EAEx3tDDgnhDyxgJRqnsmkd0TDmiZaSlNcZ8Mq9Ix0aZt05/YrRb7WaERFV5ahU7VtSA KLQ+ZYnG+1tBfJcGm3sHM0T4mOT9Hnkf4t9RAugrRSegD9e64yyfvfD+rV320W+v4KnQ ncyw== 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:to:cc; bh=ne1ydu2UXw/x0Sl2QfKjsWcoCKfTVmaAy9U7N2GtzoQ=; b=qUgRxhrDvB8v7uwafRQPbo3bkofUQt6qdPygx+xf+fSLyz5O8qtREyPdRFEF+0FBCr V67Zm2qkGHLecD5wr/49xa364A6/pAuK0NIJ1w0xZWfeQnS8u5dR6hQvMACicyGQEqU8 vD0hwEGfHmBFLsGGGM1wNIelNWMA3LmlQqxWOmP/WzGDO52nQdpnfUCdLO4lVXfDD3J6 KrLZ0cNbUI0b7eu9l6MN80FmA7AFuic5wmri1yfaLwGvT8ivV8rjdIPdDNvaGL+QFw6T JLIUGKNM/h62ZQCMAM9fhHkDVMtaC18vOtFCbpCTp4qrewkFfrMA8vEQH5u4rUAS73gJ yzOg== X-Gm-Message-State: APf1xPDIqO9YoTlLOu/kvRC5jt72cYteVW7yQn7KTtOfIMZ6YAwnWHnZ jbnUWwDjRSRq7w/TGqG/4grf5ocZmYPBb0I1b6Bpq8fw X-Google-Smtp-Source: AH8x226mqI0Oteg59+4LdWNcEQdWhG5BWs9yakxRLSbZqPgUZVjxarw0mo3NqiCaqv+HujaWlCfu909fQwYyLDTEGhU= X-Received: by 10.107.81.20 with SMTP id f20mr12905685iob.174.1518876288261; Sat, 17 Feb 2018 06:04:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.15.142 with HTTP; Sat, 17 Feb 2018 06:04:47 -0800 (PST) In-Reply-To: <065B186D-D90B-4BB1-AB50-F8F88676B430@koalephant.com> References: <065B186D-D90B-4BB1-AB50-F8F88676B430@koalephant.com> Date: Sat, 17 Feb 2018 17:04:47 +0300 Message-ID: To: Stephen Reay Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary="089e0825e9989ea274056568f16b" Subject: Re: [PHP-DEV] Suggested change: change priority of new and -> From: mcmuffinmcguffin@gmail.com (Mcmuffin Mcguffin) --089e0825e9989ea274056568f16b Content-Type: text/plain; charset="UTF-8" > > 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? > As soon as $var gets involved, it should be prioritized above the new operator. So it's equivalent of "new ($var[0])" Jaroslav --089e0825e9989ea274056568f16b--