RE: Fully object-oriented version

2001-03-11 Thread Fred Wunderlich
Hi Martin, Just for grins, I installed phpweather-1.9 on a box running php 3.0.16. Index.php errors with: Parse error: parse error in base_object.php on line 35 It doesn't seem to like: ($input = array()) Hope that helps. -fred

Re: Fully object-oriented version

2001-03-11 Thread Fred Wunderlich
At 9:00 PM +0100 3/11/01, Martin Geisler wrote: Do you also get this error if you make a normal function, like this: ?php function test($array = array()) { return count($array); } ? Yep! Same error: "Parse error: parse error in /testwx.php on line 2" -fred