[phpa] PHPA bug

  • From: Holger Bahr <hb@xxxxxxxxx>
  • To: phpa@xxxxxxxxxxxxx
  • Date: Mon, 29 Oct 2001 22:30:48 +0100

Hello Nick,

i have set up a neat demonstration for you.



   class hans
     var $name = "peter";
     function hans() //constructor
       echo $this->name;




   // include("hans.inc");     remarked bec. we wanna use
   //                                        auto_prepend
   class georg extends hans
     var $name = "andrea";
   $test = new georg;

---httpd.conf (or php.ini)-------------------------------

auto_prepend_file "/wherever/it/is/hans.inc"


This "Setup" won´t work with the accellerator.
If you don´t use auto_prepend and include "hans.inc", it

Best regards,
 Holger                          mailto:hb@xxxxxxxxx

  www.php-accelerator.co.uk           Home of the free PHP Accelerator

To post, send email to phpa@xxxxxxxxxxxxx
To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe

Other related posts: