Re: Why doesn't this work?

From: Date: Sat, 15 Sep 2001 04:46:33 +0000
Subject: Re: Why doesn't this work?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-320@lists.php.net to get a copy of this message
On Sat, Sep 15, 2001 at 02:13:20AM -0000, Ray Van Dolson wrote : > print split("=",$testString)[0]; [...] > print (split("=",$testString))[0]; This syntax is not supported. > $tempVar = split("=",$testString); > print $tempVar[0]; you can ust the list() construct: list ($key,value) = explode('=', $testString); - Markus -- Markus Fischer, http://guru.josefine.at/~mfischer/ EMail: mfischer@guru.josefine.at PGP Public Key: http://guru.josefine.at/~mfischer/C2272BD0.asc PGP Fingerprint: D3B0 DD4F E12B F911 3CE1 C2B5 D674 B445 C227 2BD0 -All your scripts are belong to Zend-

« previous php.pear.general (#320) next »