logo
Published on Technical articles on: Windows servers, Apache Web Server, MySQL, PHP, IIS (http://www.sitebuddy.com)

eaccelerator 0.9.5 and php 5.2.0

By char101
Created 5 Nov 2006 - 10:02pm

Hi,

For information only, when I am using eaccelerator 0.9.5 with PHP 5.2.0 in windows, this code does not work as expected

<?php
class A { protected $value = 123; }
class B extends A
{
public function f()
{
echo $this->value;
}
}
class C extends B { }

$c = new C();
$c->f();
?>

It will give cannot access protected variable error (when I disable eaccelerator, I did not get the error).

But with eaccelerator svn 283, the code works as expected.
So maybe it is better if the eaccelerator DLL for windows be updated to the latest svn version :D

‹ PHP 5.2 and IIS Parse error ›

Source URL:
http://www.sitebuddy.com/forum/eaccelerator/eaccelerator_0_9_5_and_php_5_2_0