Bug 3208 still in Beta 4:'Cannot redeclare' when function should not yet declared

From: Date: Wed, 23 Feb 2000 15:11:39 +0000
Subject: Bug 3208 still in Beta 4:'Cannot redeclare' when function should not yet declared
Groups: php.version4 
Request: Send a blank email to php-version4+get-10733@lists.php.net to get a copy of this message
This bug was reported by another user under beta 3 on Win32 platforms. It i s still in beta 4. Basically, if you do something like: <? require("foo.php"); ?> where foo.php contains <? class foo { ... some stuff.... } ?> This will fail with the error "Fatal error: Cannot redeclare class foo in fo o.php on line ... However, it only happens everyother time the page is loaded. Anyone else se eing something like this? As a side note, it seems like we still have a fair amount of bugs on the Win 32 side. At this stage of the game (Beta 4) shouldn't there be more concern about fixing bugs and not throwing in more features? Gerry High

« previous php.version4 (#10733) next »