get_defined_vars

PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8
get_defined_vars - Returns an array of all defined variables
Manual
Code Examples

Example #1 get_defined_vars Example

PHP Version: