R: I: [Phplib-users] prepend.php3 errors in phplib 7.2d
Brought to you by:
nhruby,
richardarcher
From: Gaetano G. <giu...@se...> - 2003-01-03 16:44:32
|
>=20 >=20 > I have been using 7.2d since Sept 2001 - I just checked, and=20 > sure enough gc=20 > is declared twice - and yet I do *not* get errors about=20 > function being=20 > redeclared. How can that be? >=20 > Just checked with php 4.3.0, and declaring twice the same function (in = any script) triggers a dreadful fatal error. You are probably running an older version of PHP: newer versions of PHP = tend to be stricter on the syntax checking side of things, wich is IMHO = a Good Thing(TM): no more sloppy coding allowed :) Bye, gaetano |