In your example, the method "block" would have to return an array where the array elements are its arguments. Also, for your example, I don't see why you won't just use $title since it is obviously in the scope you want to use it in. Any reason why you don't want that?
gonny
5:29 pm on Oct 6, 2008 (gmt 0)
I dont know but doesn't work
gonny
7:11 pm on Oct 6, 2008 (gmt 0)
ok I explain again.
I have some functions:
function func1($bla, $blabla) { return <<<EOF html ecc... $bla <br> $blabla EOF; }
function func2($title, $main) { return <<<EOF html ect... $title <br>$main EOF; }