Read arrays from file in PHP
<p>I have a PHP file which contains some configuration items in arrays.</p>

<p>ex :</p>

<p><strong>FILE : human.php</strong></p>

<pre><code>&lt;?php

$person = array(
"name"=&gt;'david',
"age"=&gt;25
);

$school = array(
"students"=&gt;589,
"leader"=&gt;'john'

);

&lt;?php
</code></pre>

<p>Now what I am trying to achieve is read these arrays and I need to display them in a UI (<em>like a tree</em>).</p>

<p>I can read the file contents, but it's not giving me what I needed.</p>

<p>How can I start?</p>

<p><strong>To the downvoters: it would be nice if you can comment about why the question needs improving.</strong></p>
