SyntaxFix
Write A Post
Hire A Developer
Questions
If you want to just run a quick code snippet you can use the -r option:
php -r "echo 'hi';"
-r allows to run code without using script tags <?..?>
<?..?>