[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.
--------------------------------------------------------
---hans.inc---------------------------------------------
<?php
class hans
{
var $name = "peter";
function hans() //constructor
{
echo $this->name;
}
}
?>
---peter.php---------------------------------------------
<?php
// 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
works...
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
- Follow-Ups:
- [phpa] Re: PHPA bug
- From: Nick Lindridge
Other related posts:
- » [phpa] PHPA bug
- » [phpa] Re: PHPA bug
- [phpa] Re: PHPA bug
- From: Nick Lindridge