| Conditions | 4 |
| Paths | 4 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 83 | * @param mixed $value |
||
| 84 | * @return bool |
||
| 85 | */ |
||
| 86 | public function match($value): bool |
||
| 87 | { |
||
| 88 | return $this->matchScalar($this->name, $value); |
||
| 89 | } |
||
| 90 | |||
| 91 | /** |
||
| 92 | * @param string $name |
||
| 93 | * @return bool |
||
| 94 | */ |
||
| 95 | private function isBuiltin(string $name): bool |
||
| 96 | { |
||
| 97 | return \function_exists('\\is_' . $name); |
||
| 112 |
If you suppress an error, we recommend checking for the error condition explicitly: