dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: predefined constants

  1. #1
    Join Date
    Apr 2008
    Posts
    182

    predefined constants

    alright so i was pretty sure that
    _LINE_
    and _FILE_
    were constatns that if you echoed would give you the exact line it echoed on
    or for _FILE_ it would give you the file it is on.

    did they change this in recent updates? I just tried echoing them
    and i am getting "_LINE_" and "_FILE_" printed out

    but PHP_OS still works when i echo it.

    anyone know or am i taking crazy pills?

    regards
    Marcus

  2. #2
    Join Date
    Apr 2007
    Posts
    1,664
    it's a double underscore before and after.

    And the crazy pills can only help

  3. #3
    Join Date
    Apr 2008
    Posts
    182
    ha!
    thanks amigo!

    regards
    Marcus

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles