mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-08 17:07:33 +08:00
yiichina
This commit is contained in:
@ -246,6 +246,10 @@ class BaseStringHelper
|
||||
* - callable - will be called for each value instead of trim. Takes the only argument - value.
|
||||
* @param boolean $skipEmpty Whether to skip empty strings between delimiters. Default is false.
|
||||
* @return array
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
* @since 2.0.4
|
||||
>>>>>>> yiichina/master
|
||||
*/
|
||||
public static function explode($string, $delimiter = ',', $trim = true, $skipEmpty = false) {
|
||||
$result = explode($delimiter, $string);
|
||||
|
||||
Reference in New Issue
Block a user