to print values of an array after extracting the array in php
<p>Please help in code that i am unable to print values of associative array after extracting itself  </p>

<pre><code>class display{
protected $variables = array();
function set($name,$value) {
     $this-&gt;variables[$name] = $value;
        }
function render(){                
extract($this-&gt;variables);
 // ?? to print values of $variable array
}
</code></pre>
