#23569 [NEW]: Can't create object 1st & define class later in same file

From: Date: Fri, 09 May 2003 21:36:20 +0000
Subject: #23569 [NEW]: Can't create object 1st & define class later in same file
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39404@lists.php.net to get a copy of this message
From: php at electricsurfer dot com Operating system: WIN XP PRO PHP version: 5CVS-2003-05-09 (dev) PHP Bug Type: Zend Engine 2 problem Bug description: Can't create object 1st & define class later in same file Can't create object 1st & define class later in same file This worked in php4 Downloaded: php5-win32-200305061830.zip Using as Apache Module <? $object = new myclass(); class myclass{} ?> -- Edit bug report at http://bugs.php.net/?id=23569&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23569&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23569&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23569&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23569&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23569&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23569&r=support Expected behavior: http://bugs.php.net/fix.php?id=23569&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23569&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23569&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23569&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23569&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23569&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23569&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23569&r=gnused

« previous php.bugs (#39404) next »