just a guess on my part: is register_globals on or off? I'm using
4.1.1 without problem, and the default for this is something that has
changed with 4.2.
otherwise, would suggest asking on php lists. Even if these 2 are now
deprecated, they should still work.
On Thursday 30 May 2002 07:05, Tim Uckun wrote:
> At 09:14 PM 5/29/2002 +0200, you wrote:
> > > It seems like my version of php (4.12 running on
> > > freebsd) is puking on the error messages and complaining about
> > > the __LINE__ and __FILE__ barewords. Is there a
> > > setting or something I need to tweak?
> >
> >The "Magical Constant" __LINE__ and __FILE__ should just work.
> > Have never heard of a problem. But you might try a PHP update.
> > According to the bug reports there was a problem with __FILE__ in
> > PHP version 4.1.2
>
> I am using the latest version of php (4.2.1) I went to the
> documentation on the web and the link to the __LINE__ and __FILE__
> constants were disabled. I wonder if this means these have been
> depriciated.
|