mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-13 17:23:58 +02:00
Adds a comma to the description of recursion
Parenthetical elements should be set off using a comma.
This commit is contained in:
@@ -23,7 +23,7 @@ PHP supports first-class function, meaning that a function can be assigned to a
|
|||||||
functions can be referenced by a variable and invoked dynamically. Functions can be passed as arguments to other
|
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.
|
functions (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
|
Recursion, a feature that allows a function to call itself, is supported by the language, but most of the PHP code focus
|
||||||
on iteration.
|
on iteration.
|
||||||
|
|
||||||
New anonymous functions (with support for closures) are present since PHP 5.3 (2009).
|
New anonymous functions (with support for closures) are present since PHP 5.3 (2009).
|
||||||
|
Reference in New Issue
Block a user