FMCorz
5/25/2016 - 4:16 AM

Output result of a PHP expression

Output result of a PHP expression

#!/bin/sh
# Place in /usr/local/bin
# Run: chmod +x /usr/loca/bin/phpx

echo "<?php var_dump($@);" > /tmp/phpx.php
php /tmp/phpx.php