[Phplib-users] Re: php 4.2.1
Brought to you by:
nhruby,
richardarcher
|
From: Marko K. <Mar...@mc...> - 2002-06-04 10:53:33
|
Hi, I found solutions myself. It's eventually not related to phplib, rather to PHP itself. > unset($ExpNames[],$ExpNr[]); php 4.2.1 doesn't like (in contradiction to 4.0.4) such an unset() command. If I skip the [] brackets it doesn't throw an error message anymore. But unfortunately the assignments down the snipout to these 2 arrays do not work as expected anyway... Well, have to investigate that. Another thing was that I had somewhere in my code a typo. One ";" at a line end was followed by a ":"! The funny thing was that php 4.2.1 didn't give me an error message in the browser. nothing, just blank screen and stopped processing the php script. I was totally irritated. Only when I reinstalled 4.0.4 I saw an error message pointing me to the type. Strange, isn't it? Hope I didn't bother somebody. Marko |