Click to See Complete Forum and Search --> : predefined constants


marcusami
04-30-2008, 09:33 AM
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

SyCo
04-30-2008, 09:40 AM
it's a double underscore before and after.

And the crazy pills can only help :)

marcusami
04-30-2008, 09:48 AM
ha!
thanks amigo!

regards
Marcus