|
-
Jun 16th, 2002, 08:38 PM
#1
Thread Starter
Stuck in the 80s
highlight_file()
When did PHP add support for the second paramenter?:
mixed highlight_file (string filename [, bool return])
Whenever I try to do:
PHP Code:
$source = highlight_file("filename.txt", true);
It tells me "Wrong parameter count"
-
Jun 16th, 2002, 08:57 PM
#2
PowerPoster
Note: The return parameter became available in PHP 4.2.0. Before this time it behaved like the default, which is FALSE
if you're using a lesser version, you'll get that error
-
Jun 18th, 2002, 10:22 AM
#3
Thread Starter
Stuck in the 80s
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|