RE: [PHP] Syntax ::: does explode('-', $string)[2] ::: have a twin brother?

From: Date: Tue, 19 Dec 2000 09:50:31 +0000
Subject: RE: [PHP] Syntax ::: does explode('-', $string)[2] ::: have a twin brother?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-31012@lists.php.net to get a copy of this message
... > Here's a different approach: > list ( $hell , $hell , $to ) = explode ( '-' , $string ); > Way not just shorten it to list (,, $to ) = explode ( '-' , $string ); Best Regards Kristoffer Skjutare Developer Medstroms Dataforlag AB

« previous php.general (#31012) next »