weird expolde

From: Date: Wed, 09 Jun 1999 21:17:07 +0000
Subject: weird expolde
Groups: php.version4 
Request: Send a blank email to php-version4+get-1431@lists.php.net to get a copy of this message
script: <? $data = explode("#","test#1"); var_dump($data); $data = $data[ 0 ]; var_dump($data); ?> shows: array(2) { int(0) string(4) "test" int(1) string(1) "1" } i:0 should show: array(2) { int(0) string(4) "test" int(1) string(1) "1" } string(4) "test" i'm sure i could fix it:) -> but it's a bit "deeper".... regards, tc Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.version4 (#1431) next »