Function __global->preg_split

Definitions

sources_custom/phpstub.php

  • Split string by a regular expression.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$pattern string required parameter N/A N/A The pattern
$subject string required parameter N/A N/A The subject
$max_splits integer -1 N/A N/A The maximum number of splits to make (-1: no limit)
$mode ?integer Null N/A N/A The special mode (null: none)

Return

  • The array due to splitting
  • Type: array
  • Set: N/A
  • Range: N/A