Skip to content

Tiny function to split a string by a array of the string for PHP.

License

Notifications You must be signed in to change notification settings

BaseMax/PHPMultiExplode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PHP Multi Explode

Tiny function to split a string by a array of the string for PHP.

The mexplode(), mexplodes() function breaks a string into an array.

Different ways

  • preg_split (one of the best way)
  • str_replace + explode
  • explode + implode

Releases

No releases published

Packages

No packages published

Languages