Re: Re: Why doesn't this work?

From: Date: Sat, 15 Sep 2001 21:52:11 +0000
Subject: Re: Re: Why doesn't this work?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-67468@lists.php.net to get a copy of this message
On Sat, 15 Sep 2001, CC Zona wrote: > 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]; > > This won't work. Reason: PHP isn't Perl. -Sterling

« previous php.general (#67468) next »