Re: [RFC] Array Dereferencing

From: Date: Tue, 08 Jun 2010 14:03:56 +0000
Subject: Re: [RFC] Array Dereferencing
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-48687@lists.php.net to get a copy of this message
$result = new ResultMaker()->getIt();
I know that this is not much of an argument, but it works the same way in Javascript too, which is very convenient. The intended behaviour is obvious...even though it could be (mis-)interpreted by php. Lars

« previous php.internals (#48687) next »