#27527 [Opn->Bgs]: str_split() function call error
| From: | iliaa@php.net | Date: | Mon, 08 Mar 2004 14:38:57 +0000 |
| Subject: | #27527 [Opn->Bgs]: str_split() function call error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-56107@lists.php.net to get a copy of this message | ||
ID: 27527
Updated by: iliaa@php.net
Reported By: rage at c2 dot hu
-Status: Open
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Linux ns1 2.4.22 #2 SMP
PHP Version: 4.3.4
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
This function is avaliable in PHP 5.0 ONLY.
Previous Comments:
------------------------------------------------------------------------
[2004-03-08 09:34:57] rage at c2 dot hu
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 this bug report at http://bugs.php.net/?id=27527&edit=1