PHP 8 · Command line Check a file for syntax errors Check syntax without running the file. php -l file.php Official PHP 8 documentation More command line commands Check the PHP versionStart a development serverServe a public folder with a router scriptRun a scriptRun a one-line commandList loaded extensions All command line commands · PHP 8 cheatsheet ← Run a one-line commandList loaded extensions →