Chapter 14. Function-Handling Functions

The function-handling functions provide developers with tools to call, define, and test functions. The function-handling functions are a core part of PHP. They allow the programmer to easily do the following tasks:

  • Dynamically call and build functions at runtime

  • Create functions that accept variable-length argument lists

  • Call functions arbitrarily at the end of a script

  • Ensure that a function is defined in the current scope

Get PHP Functions Essential Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.