Getting the variables out of a PHP document
Sometimes you need to find the variables from a php file. I needed it to reverse engineer a script. I was checking which variables and objects are passed to the script. So I wrote my own parser for it. It’ll find all the variables from the document. It’ll only work for php.
Here is the code.
<?php
$con [...]
