Wednesday, 2 July 2008

Php console came out

install php-cli you will have the console similar to python for php programming.

  • php -a: console environment
  • php -r <command>: run single php command line like what 'python -c' does. ( must end with ';')
  • php -f <php file>: just for pure php codes, if there are some html codes, it still works, but will pup up a lot of html tag.

No comments:

My photo
London, United Kingdom

Facebook & Twitter