note 8923 added to split

From: Date: Fri, 06 Oct 2000 03:39:39 +0000
Subject: note 8923 added to split
Groups: php.notes 
Request: Send a blank email to php-notes+get-6140@lists.php.net to get a copy of this message
I face the problem of getting an element in an empty array after using split function. It return 1 when count function is used. To my understanding (refer to C language - strtok() theory), the split function will only terminates when it encounters the null value. Please correct me if i am wrong. Feel free to email me coz i would like the exact mechanism behind the split function. Thank You. World of SHAREWARE and FREEWARE!!! http://www.php.net/manual/function.split.php

« previous php.notes (#6140) next »