Re: [PHP4BETA] cascading class wierdness?

From: Date: Sun, 08 Aug 1999 21:51:09 +0000
Subject: Re: [PHP4BETA] cascading class wierdness?
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-3345@lists.php.net to get a copy of this message
Shannon Weyrick wrote: > > hi, > > came across this whilst playing with some more OO stuff. the following script > appears to die after reaching the definition of class testClass - by die, I > mean, no code is executed at ALL after it's definition, no errors are > reported, and the server returns "Document Contained No Data". Where I have the > phpinfo() call in there now, never gets executed. if I uncomment that call > directly BEFORE the testClass class definition, however, php info comes back as > normal (but the rest of the script doesn't run). > > the code might or might not be all that practical, but I dont think it's > invalid code. but, perhaps I'm missing something? > I tested your code w/ display_errors on and error_reporting 65527 this is the error: Fatal error: Cannot redeclare class testclass in /opt/apache2/htdocs/chat/debug/crash.php on line 0 so, report it at bugs.php.net/version4/ [snip] -- CIMPOESU Teodor, Web Programmer @ DIGICOM S.A. Bucharest, Romania @ Internet, site development @ teo@digiro.net,+(401)-330.47.28 official home page ~ http://www.digiro.net/ Internet web page ~ http://internet.digiro.net/

« previous php.version4 (#3345) next »