Team LiB
Previous Section Next Section

Chapter 17. Using PHP for Console Scripting

IN THIS CHAPTER

Although PHP is primarily a scripting language designed for developing Web applications, PHP offers much of the same functionality to non-Web (client) applications. This is accomplished though the CLI, or command-line interface, version of PHP. This customized version of PHP provides almost all the same functionality as the standard version of PHP, except it is designed to be run from the command line. Before we discuss the details, let's start by examining what's different between the Web-based and command-line versions of PHP.

    Team LiB
    Previous Section Next Section