note 127534 added to function.mb-str-split
| From: | webmaster at redinfo dot co dot kr | Date: | Thu, 25 Aug 2022 16:29:33 +0000 |
| Subject: | note 127534 added to function.mb-str-split | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-219473@lists.php.net to get a copy of this message | ||
if( !function_exists('mb_str_split')){
function mb_str_split( $string = '', $length = 1 , $encoding = null ){
if(!empty($string)){
$split = array();
$mb_strlen = mb_strlen($string,$encoding);
for($pi = 0; $pi < $mb_strlen; $pi += $length){
$substr = mb_substr($string, $pi,$length,$encoding);
if( !empty($substr)){
$split[] = $substr;
}
}
}
return $split;
}
}
----
Server IP: 45.112.84.4
Probable Submitter: 185.85.3.175 (proxied: 59.28.48.128)
----
Manual Page -- https://php.net/manual/en/function.mb-str-split.php
Edit -- https://main.php.net/note/edit/127534
Del: integrated -- https://main.php.net/note/delete/127534/integrated
Del: useless -- https://main.php.net/note/delete/127534/useless
Del: bad code -- https://main.php.net/note/delete/127534/bad+code
Del: spam -- https://main.php.net/note/delete/127534/spam
Del: non-english -- https://main.php.net/note/delete/127534/non-english
Del: in docs -- https://main.php.net/note/delete/127534/in+docs
Del: other reasons-- https://main.php.net/note/delete/127534
Reject -- https://main.php.net/note/reject/127534
Search -- https://main.php.net/manage/user-notes.php