Re: Bug #2341: expression evaluation - improvement
| From: | Rodent of Unusual Size | Date: | Tue, 21 Sep 1999 17:00:32 +0000 |
| Subject: | Re: Bug #2341: expression evaluation - improvement | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-11156@lists.php.net to get a copy of this message | ||
Andrei Zmievski wrote:
>
> You are taking this to the extreme. What happens when you need
> to use that expression again, type it in over and over? The
> example you gave would be best solved by having that array
> in a variable.
I agree if it's a reusable expression. If it's a one-time use,
having to create a variable and then pull something out of
it strikes me as wasted cycle and source. Personally, I think
there are situations in which anonymous arrays and lists are
useful.
Not that I have an opinion about whether this should be done
in PHP; I just find your argument specious, Andrei.
--
#ken P-)}
Ken Coar <http://Web.Golux.Com/coar/>
Apache Software Foundation <http://www.apache.org/>
"Apache Server for Dummies" <http://ASFD.MeepZor.Com/>