note 42226 added to function.str-split

From: Date: Sat, 08 May 2004 19:56:56 +0000
Subject: note 42226 added to function.str-split
Groups: php.notes 
Request: Send a blank email to php-notes+get-69351@lists.php.net to get a copy of this message
Another emulation of str_split() for older versions of PHP: (more simple!) function str_split($string) { for ($x = 0; $x < strlen($string); $x++) { $array[$x] = substr($string, $x, 1); } return $array; } ---- Manual Page -- http://www.php.net/manual/en/function.str-split.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+42226 Delete -- http://master.php.net/manage/user-notes.php?action=delete+42226&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+42226&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#69351) next »