Assume I have a method/function with the following signature:
foo($bar = 0)
Inside foo, how do I tell if $bar was set or not? isset will alway return a TRUE since $bar is assigned 0 in the event nothing is passed to foo.
Checking for 0 is not an option. I need to know the difference between the parameter explicitly being set to 0 or defaulting to 0.