Re: Why doesn't this work?
| From: | CC Zona | Date: | Sat, 15 Sep 2001 20:28:08 +0000 |
| Subject: | Re: Why doesn't this work? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-67463@lists.php.net to get a copy of this message | ||
In article <20010915021344.54891.qmail@pb1.pair.com>,
rayvd@bludgeon.org (Ray Van Dolson) wrote:
> I'm trying to do:
>
> print split("=",$testString)[0];
Curly braces often seem to help in situations like these. Untried, but
maybe this will do the trick for you:
print {split("=",$testString)}[0];
--
CC