When did PHP add support for the second paramenter?:
mixed highlight_file (string filename [, bool return])
Whenever I try to do:
It tells me "Wrong parameter count" :confused:PHP Code:$source = highlight_file("filename.txt", true);
Printable View
When did PHP add support for the second paramenter?:
mixed highlight_file (string filename [, bool return])
Whenever I try to do:
It tells me "Wrong parameter count" :confused:PHP Code:$source = highlight_file("filename.txt", true);
if you're using a lesser version, you'll get that errorQuote:
Note: The return parameter became available in PHP 4.2.0. Before this time it behaved like the default, which is FALSE
bah, I didn't see that in the manual.
I'm going to have to stab my host in the leg a few times to get them to upgrade.