Re: Suggested change: change priority of new and ->
| From: | Stephen Reay | Date: | Thu, 15 Feb 2018 08:32:31 +0000 |
| Subject: | Re: Suggested change: change priority of new and -> | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-101875@lists.php.net to get a copy of this message | ||
> On 9 Feb 2018, at 01:38, Mcmuffin Mcguffin <mcmuffinmcguffin@gmail.com> 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