[phpslash-users] Re: php3...
Brought to you by:
joestewart,
nhruby
From: nathan r. h. <nh...@ar...> - 2000-11-20 17:39:07
|
On Mon, 20 Nov 2000, Ajay Sharma wrote: > On Mon, 20 Nov 2000, nathan r. hruby wrote: > > > On Mon, 20 Nov 2000, Nikolai Lebedovsky wrote: > > > > > Dear Ajay, > > > > > > OK, i deleted the block, now i'm getting something new: > > > Parse error: parse error in Block_render_section.class on line 104 > > > > > > > Remove the comma at the end of line 103 in Block_render_section.class > > > > 101 $template->set_var(array( > > 102 ROOTDIR => $rootdir, > > 103 IMAGEDIR => $imagedir, > > 104 )); > > > > The parsers in php3 and php4 treat this differently, kind of a pain. > > Yeah it does suck, but it's cool that Nikolai is telling us all this > stuff so we can fix it. A PHP3 user AND a Windows user!! > WooHoo! > I wish php had a -w like perl or a 'use Strict'. > You can up the worning level of php in the .ini file.. It's explained there. Not sure if it'll warn about that kind of stuff (might be worth it to put in a feature request..) -n -- ........ nathan hruby Webmaster: UGA Department of Drama and Theatre Project Maintainer: phpSlash, Carousel nh...@ar... ........ |