× {{alert.msg}} Never ask again
Get notified about new tutorials RECEIVE NEW TUTORIALS

Get all the available variables within the scope of a php template.

geoff golder
Oct 26, 2015
<pre><code class="language-php">// Get all the variable names print_r(array_keys(get_defined_vars())); //Get all the values of the variables print_r(get_defined_vars());</code></pre> <p> </p>
comments powered by Disqus