APD
PHP Manual

apd_get_active_symbols

(PECL apd:0.2)

apd_get_active_symbols — Get an array of the current variables names in the local scope

说明

array apd_get_active_symbols ( void )

Returns the names of all the variables defined in the active scope, (not their values).

返回值

A multidimensional array with all the variables.

范例

Example#1 apd_get_active_symbols() example

<?php
apd_echo
(apd_get_active_symbols());
?>


APD
PHP Manual