1 | <?php |
||
14 | class RegularExpressions implements PassFunctionCallInterface |
||
15 | { |
||
16 | use ResolveExpressionTrait; |
||
17 | |||
18 | static public $map = [ |
||
19 | 'preg_filter' => 0, |
||
20 | 'preg_grep' => 0, |
||
21 | 'preg_match_all' => 0, |
||
22 | 'preg_match' => 0, |
||
23 | 'preg_quote' => 0, |
||
24 | // 'preg_replace_callback_array' => 0, |
||
25 | 'preg_replace_callback' => 0, |
||
26 | 'preg_replace' => 0, |
||
27 | 'preg_split' => 0, |
||
28 | ]; |
||
29 | |||
30 | /** |
||
31 | * @param FuncCall $funcCall |
||
32 | * @param Context $context |
||
33 | * @return mixed |
||
34 | */ |
||
35 | 5 | public function pass(FuncCall $funcCall, Context $context) |
|
56 | } |
||
57 |