Abstract
Methods
public static pregSplit(string $pattern, string $subject, ?int $limit = -1, int $flags = 0) : array
 

Wrapper function for phps preg_split

This function is inspired by {@link https://github.com/thecodingmachine/safe/blob/master/generated/pcre.php}. But
since this library is all about performance we decided to strip everything we don't need. Reducing the amount
of files that have to be loaded, ect.

  • return string[] Returns an array containing substrings of subject split along boundaries matched by pattern
  • throws PcreException
Methods
public static pregSplit(string $pattern, string $subject, ?int $limit = -1, int $flags = 0) : array
 

Wrapper function for phps preg_split

This function is inspired by {@link https://github.com/thecodingmachine/safe/blob/master/generated/pcre.php}. But
since this library is all about performance we decided to strip everything we don't need. Reducing the amount
of files that have to be loaded, ect.

  • return string[] Returns an array containing substrings of subject split along boundaries matched by pattern
  • throws PcreException
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only