Fix typos and improve readability of one sentence in Section 3.

This commit is contained in:
defenestrator
2015-01-07 12:16:29 -07:00
parent 711174cf81
commit 72f1ccedb6
2 changed files with 4 additions and 4 deletions

View File

@@ -21,10 +21,10 @@ interfaces, inheritance, constructors, cloning, exceptions, and more.
PHP supports first-class function, meaning that a function can be assigned to a variable. Both user-defined and
built-in functions can be referenced by a variable and invoked dynamically. Functions can be passed as arguments to
other functions (feature called Higher-order functions) and function can return other functions.
other functions (a feature called _Higher-order Functions_) and function can return other functions.
Recursion, a feature that allows a function to call itself, is supported by the language, but most of the PHP code
focus on iteration.
Recursion, a feature that allows a function to call itself, is supported by the language, but most PHP code
is focused on iteration.
New anonymous functions (with support for closures) are present since PHP 5.3 (2009).

View File

@@ -6,7 +6,7 @@ anchor: command_line_interface
## Command Line Interface {#command_line_interface_title}
PHP was created to write web applications, but is also useful for scripting command line interface (CLI) programs.
Command line PHP programs can help automate common tasks like testing, deployment, and application administrivia.
Command line PHP programs can help automate common tasks like testing, deployment, and application administration.
CLI PHP programs are powerful because you can use your app's code directly without having to create and secure a web
GUI for it. Just be sure **not** to put your CLI PHP scripts in your public web root!