PHP include w/o echo
<p>I'm coding a web site and I have a php fonction called site_nav.php which first define a $list array and than echos it in a json form.</p>

<p>This way, I can get my web site map with ajax.</p>

<p>My problem is that now, I would like to get the $list object in php, without echoing the json object.</p>

<p>My question: Is there a way to include my php file without activation of the echo call which is in it?</p>

<p>Thanks a lot!</p>
