Function __global->preg_grep
Definitions
sources_custom/phpstub.php
- Array entries that match the pattern.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $pattern | string | No | No | required parameter | N/A | N/A | The pattern |
| $subject | array | No | No | required parameter | N/A | N/A | The subject strings |
| $flags | integer | No | No | 0 | N/A | N/A | Either 0, or PREG_GREP_INVERT |
Returns
- Matches
- Type: array
- Set: N/A
- Range: N/A

