That's pretty much all I'm asking. I don't want to get into to much detail, otherwise I might become unclear.
Thanks for reading.
Moderator: General Moderators
Would that include a function value, such as javascript can:Jcart wrote:You can pass anything you wish to a function or method.
Code: Select all
myCustumFunction(function () {
echo "whatever";
});
Your right. What would be the use of passing functions in php. It's more useful in javascript because functions are, in a way, objects.Jcart wrote:I don't understand what you are asking.
What have you tried? Examples?