Closed (fixed)
Project:
Generate Password
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Oct 2008 at 13:39 UTC
Updated:
29 Oct 2008 at 18:22 UTC
For people who are using still PHP 4.x, you can add following function at end of the file:
if(!function_exists('str_split')) {
function str_split($string, $split_length = 1) {
$array = explode("\r\n", chunk_split($string, $split_length));
array_pop($array);
return $array;
}
}
Comments
Comment #1
japanitrat commentedah yes we had this before and i suggested the pear compat library for general use of php4. anyway, since this is not a nice workaround, str_split is going to be replaced with preg_split('//', $entropy, -1, PREG_SPLIT_NO_EMPTY) in the next release.
Comment #2
starbow commentedFixed in Beta3
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.