![]() |
The get_defined_functions() function is an inbuilt function in PHP which returns the all defined functions in the array format. Syntax: array get_defined_functions( bool $exclude_disabled = true ) Parameters: This function accepts one parameter that is described below:
Return value: The return value will be a multidimensional array that has the list of all defined functions(ie., both built-in and user-defined). This function returns a definition of the function or returns the value of the function if the parameter will be true. Example 1: In this example, we demonstrated the get_defined_functions() function. PHP
Output: Array Example 2: In this example, we will print only user-defined functions in an array form. PHP
Output: Array Reference: https://www.php.net/manual/en/function.get-defined-functions.php |
Reffered: https://www.geeksforgeeks.org
PHP |
Related |
---|
![]() |
![]() |
![]() |
![]() |
![]() |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 13 |