PHP code example of systemhaus / php-var-dump-check
1. Go to this page and download the library: Download systemhaus/php-var-dump-check 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/ */
systemhaus / php-var-dump-check example snippets
json
{
"ystemhaus/php-var-dump-check": "~0.2"
}
}
$ ./vendor/bin/var-dump-check --no-colors --tracy .
...................X...
Checked 23 files in 0.1 second, dump found in 1 file
------------------------------------------------------------
Forgotten dump 'var_dump' found in ./test.php:36
34| $functionsToCheck = $this->prepareFunctionCheck($this->settings->functionsToCheck);
35|
> 36| var_dump($functionsToCheck);
37|
38| foreach ($tokens as $key => $token) {