Hello all..
I tried searching around for this answer, but couldn't find it, so i ask you..
is it possible to do
$default_arg = "can't figure it out";
function yak($arg=$default_arg) {
echo $arg;
}
echo yak() should print "can't figure this out" but instead gives me a parse error. I know how to kludge my way around it, but is the above possible?
Thanks,
-Si