|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-03-08 09:38 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 18 05:00:01 2025 UTC |
Description: ------------ I tried to use the str_split() function as described in the current version of the PHP online manual when the following problem occured: Fatal error: Call to undefined function: str_split() in test.php on line xx Reproduce code: --------------- <?php var_dump(str_split("abcdefgh")); ?> Expected result: ---------------- array(8) { [0]=> string(1) "a" [1]=> string(1) "b" [2]=> string(1) "c" [3]=> string(1) "d" [4]=> string(1) "e" [5]=> string(1) "f" [6]=> string(1) "g" [7]=> string(1) "h" } Actual result: -------------- Fatal error: Call to undefined function: str_split() in test.php on line 2