I would like to know if it is a good thing to define a function inside another function in PHP. Isn\'t it better to define it before the function (and not inside) in terms o
There are multiple reasons against it:
) or closures (>=PHP5.3)
>=PHP5.3