Hello!
I just found the need to place a function in a function... and it works to compile...
Is this really a good way to program.. I mean... it looks strange? 🙂
if the subfuction only needs to be available within the parent fucntion then function nesting is fine.
But remember PHP will attempt to declare the child function every time the parent function is run - and functions can only be declared once; so the parent function can only be run once.