Scala application to reverse php var_dump and print_r methods.