php run a command with & code example
Example 1: php run command terminal
php -r "Print \"Hello, World!\";"
Example 2: execute php file from command line
php -f /path/to/your/file.php
php -r "Print \"Hello, World!\";"
php -f /path/to/your/file.php