Does this small piece of code seem ok? |
That is an awesome solution!!!!
At first I was concerned that it was worse as it might hit the memory limit as php has to remember all the deeper and deeper levels of functions within functions, but that is not how PHP works in this case (I think). It seems that it assigns the function to the variable, returns that, 'level' closed, then re-evaluates it. That lead me to this: http://www.phptherightway.com/pages/Func...mming.html which was interesting too but I really must get back to what I was doing :-) I am definitely going to use that function - thank you! Paul. |
Welcome Guest, Not a member yet? Register Sign In |