PhpExportParser
API reference › Debug Core › Panel › Log › PhpExportParser
Parses the var_export() or VarDumper::export() output of an array or object into a typed DumpNode tree.
Never evaluates the message; returns null, without throwing, for any unsupported form or an exceeded
PrintRParser bound.
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
parse() static | Parses a var_export() or VarDumper::export() value. | PhpExportParser |
Method details
Section titled “Method details”parse()
Section titled “parse() ”public static function parse(string $message): PHPForge\Debug\Panel\Log\DumpNode|nullParses a var_export() or VarDumper::export() value.
Parameters
| Parameter | Type | Description |
|---|---|---|
$message | string |
Returns
DumpNode|null: Root array or object block, or null for an unsupported message.