php dynamically generate file with argument
<p>I'm new to web programing and just started using php. I wonder if there's a way to dynamic generate a file (like html) by passing an argument. like by calling some function </p>

<pre><code>some_function($my_arr)
</code></pre>

<p>and</p>

<pre><code>$my_arr={$obj1, $obj2, $obj3}
</code></pre>

<p>while obj is just a class with some class member in it.
Is it possible to dynamically generate 3 file (such as html) that prints the info of three objects to some format seperately in each of them?</p>
