PHP code example of krylov123 / var-dump-parser
1. Go to this page and download the library: Download krylov123/var-dump-parser library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
krylov123 / var-dump-parser example snippets
$string = "
/var/www/var-dump-parser/test.php:9:
array(3) {
'as' =>
int(123123)
[0] =>
int(12312321)
[1] =>
int(3123)
}
";
$parser = new \Krylov123\VarDumpParser();
$array = $parser->parseOutput($string);