PHPNW11

CLI, The Other SAPI

Most developers use PHP in a web context and run their code via Apache. The command line interface (CLI) is another approach to run PHP without the overhead of your webserver. This talk will not only illustrate the usage of PHP binary, but also demonstrate some cases for which the CLI is the better tool. Keywords: I/O, forking, signals, configuration, batch tasks, syntax validation, documentation, piping.