Results 1 to 3 of 3

Thread: highlight_file()

  1. #1

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256

    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"
    My evil laugh has a squeak in it.

    kristopherwilson.com

  2. #2
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923
    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

  3. #3

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    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.
    My evil laugh has a squeak in it.

    kristopherwilson.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width