From: rage at c2 dot hu Operating system: Linux ns1 2.4.22 #2 SMP PHP version: 4.3.4 PHP Bug Type: Unknown/Other Function Bug description: str_split() function call error
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 -- Edit bug report at http://bugs.php.net/?id=27527&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27527&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27527&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=27527&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=27527&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=27527&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=27527&r=needscript Try newer version: http://bugs.php.net/fix.php?id=27527&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=27527&r=support Expected behavior: http://bugs.php.net/fix.php?id=27527&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=27527&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=27527&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=27527&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27527&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=27527&r=dst IIS Stability: http://bugs.php.net/fix.php?id=27527&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=27527&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=27527&r=float