Mandatory function arguments:
function foo($arg1,$arg2) { return; }
foo('bar');
Warning: Missing argument 2 for foo()
Lame. But omitting arg2 is allowed if you give it a default value: function foo($arg1,$arg2=FALSE) { return; }
Blah. Instead I'd rather make arg2 truly optional just by testing if it's defined.