This is really annoying. I upgraded from 4.0.0 to 4.0.1 and quickly had to change back because of this problem. I have many functions which take a variable amount of arguments, for example:
<?php
Function thisFunc($one, $two) {
return "$one : $two";
};
print thisFunc($one);
?>
This used to work just fine, I didn't have to call it with both vars (thisFunc($one,"")😉 but now I do!
Otherwise I get this message:
Warning: Missing argument 2 for thisfunc() in /Users/riemondi/Sites/test/test.php on line 3
I am not, I repeat AM NOT, going to put an empty var in every call I make to functions like this. It's gotta be on the multitude of 10,000 calls affected.
WHY was this change made? What can I do to get rid of the Warning message? WILL this be fixed?
Thanks in advance for any help!