<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Get an array of the current variables names in the local scope</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.apd-echo.html">apd_echo</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.apd-set-pprof-trace.html">apd_set_pprof_trace</a></div> <div class="up"><a href="ref.apd.html">APD Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="function.apd-get-active-symbols" class="refentry"> <div class="refnamediv"> <h1 class="refname">apd_get_active_symbols</h1> <p class="verinfo">(PECL apd 0.2)</p><p class="refpurpose"><span class="refname">apd_get_active_symbols</span> — <span class="dc-title">Get an array of the current variables names in the local scope</span></p> </div> <div class="refsect1 description" id="refsect1-function.apd-get-active-symbols-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type">array</span> <span class="methodname"><strong>apd_get_active_symbols</strong></span> ( <span class="methodparam">void</span> )</div> <p class="para rdfs-comment"> Returns the names of all the variables defined in the active scope, (not their values). </p> </div> <div class="refsect1 returnvalues" id="refsect1-function.apd-get-active-symbols-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> A multidimensional array with all the variables. </p> </div> <div class="refsect1 examples" id="refsect1-function.apd-get-active-symbols-examples"> <h3 class="title">Examples</h3> <p class="para"> <div class="example" id="example-428"> <p><strong>Example #1 <span class="function"><strong>apd_get_active_symbols()</strong></span> example</strong></p> <div class="example-contents"> <div class="phpcode"><code><span style="color: #000000"> <span style="color: #0000BB"><?php<br />apd_echo</span><span style="color: #007700">(</span><span style="color: #0000BB">apd_get_active_symbols</span><span style="color: #007700">());<br /></span><span style="color: #0000BB">?></span> </span> </code></div> </div> </div> </p> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.apd-echo.html">apd_echo</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.apd-set-pprof-trace.html">apd_set_pprof_trace</a></div> <div class="up"><a href="ref.apd.html">APD Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>