note 17581 deleted from function.split by jimw

From: Date: Fri, 21 Dec 2001 00:23:05 +0000
Subject: note 17581 deleted from function.split by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-23618@lists.php.net to get a copy of this message
I rather think that the above snippet could be modified to <?php $keyword = "this is a test"; $k = array(split(" ", $keyword)); for($i=0; $i<count($k); $i++) { echo "$k[$i]\n"; } ?>

« previous php.notes (#23618) next »