RE: [PHP] redefine constants

2001-02-28 Thread Neil Kimber
define() gives you a literal copy of the value of the second parameter. In this case your second parameter is __LINE__. The value of __LINE__ represents the current line number of the define statement. Once defined the value assigned remains constant, irrespective of whether or not __LINE__

Re: [PHP] redefine constants

2001-02-28 Thread Chris Lee
consants must be scalar, they can not be references. http://php.net/manual/en/function.define.php what your looking for is this. ?php define(LN, __LINE__); ? this is invalid syntax though, I dont know how to answer your question though, sorry :( -- Chris Lee