Function __global->preg_grep

Definitions

sources_custom/phpstub.php

  • Array entries that match the pattern.
  • 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 array required parameter N/A N/A The subject strings
$flags integer 0 N/A N/A Either 0, or PREG_GREP_INVERT

Return

  • Matches
  • Type: array
  • Set: N/A
  • Range: N/A