Understanding the CLI SAPI, and Why You Need To
Rob Aley · Apress eBooks · 2016
As I mentioned in Chapter 2, most off-web programming you do will involve using the PHP CLI SAPI. It’s therefore important to have a good grasp of how to use it, know the options for configuring and running it, and understand how it differs from the web-based SAPIs you are used to using. Luckily, the differences are minimal, and many are intuitive, although it’s still worth having a thorough read of this chapter as the CLI SAPI forms the basis upon which most of your code will run. These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.