| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | /** |
||
| 13 | * Returns PHP-executable string representation of given value. |
||
| 14 | * Uses Riimu/Kit-PHPEncoder based `var_export` alternative. |
||
| 15 | * And Opis/Closure to dump closures as PHP code. |
||
| 16 | * @param mixed $value |
||
| 17 | * @return string |
||
| 18 | * @throws \ReflectionException |
||
| 19 | */ |
||
| 20 | public static function exportVar($value): string |
||
| 21 | { |
||
| 46 |