note 4568 deleted from function.split by jeroen

From: Date: Wed, 29 Aug 2001 17:35:53 +0000
Subject: note 4568 deleted from function.split by jeroen
Groups: php.notes 
Request: Send a blank email to php-notes+get-17318@lists.php.net to get a copy of this message
Here's a little unexpected gem. <?php $x = split(":",""); print "There are " . count($x) . " items"; ?> Suprisingly enough (or maybe not), this prints: There are 1 items I would expect this to be 0 since the string is empty.

« previous php.notes (#17318) next »