php Command Examples

PHP command-line interface. More information: https://php.net.

php {{path/to/file}}

php -l {{path/to/file}}

php -a

php -r "{{code}}"

php -S {{host:port}}

php -m

php -i

php --rf {{function_name}}