Posted by herpers on 11/10/06 06:04
Hi,
I'm not sure where to look up the answer to this question myself, so
maybe you can help me.
The following line of code works fine with php5:
function CheckMappings(&$badMappings=array())
On a system with php4 the following error is thrown:
Parse error: parse error, unexpected '=', expecting ')' in <phpfile> on
line 42
Now I would like to know, what the problem is. Is it the '&' or the
default value assignment or a combination of both?
Where would I find documentation on the differences in the versions of
php? Is there a good site? Maybe a table with a feature comparison?
Thanks for your help.
Sascha
[Back to original message]
|