note 47952 deleted from function.str-split by betz
| From: | betz@php.net | Date: | Tue, 07 Dec 2004 06:31:59 +0000 |
| Subject: | note 47952 deleted from function.str-split by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-81471@lists.php.net to get a copy of this message | ||
Note Submitter: phpmonkey at gmail[spamsucks] dot com
----
What's wrong with:
<?php
if (!function_exists('str_split')) {
function str_split($string)
{
$chars = array();
$len = strlen($string)l
for($i=0;$i<$len;$i++)
{
$chars[$i] = substr($string,$i,1);
}
}
return $chars;
}
?>
----
Reason: useless note