note 14906 added to function.split.php
| From: | php-general at lists dot php dot net | Date: | Mon, 20 Aug 2001 19:05:31 +0000 |
| Subject: | note 14906 added to function.split.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16921@lists.php.net to get a copy of this message | ||
split(":",""); returns false which means that $x[0] would be false.
count(); returns the number of elements in an array which means $x[0] contains one element.
http://www.php.net/manual/en/function.split.php