eaccelerator 0.9.5 and php 5.2.0

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



I take my words back, svn

I take my words back, svn 283 will not work either. Peeking into the code, in svn 283, eaccelerator_get() will return something only for objects :(. Thus we will only get another problem if using this version.

I am searching for a working

I am searching for a working version for PHP 5.2.0

Is there any?

SiteBuddy is running under

SiteBuddy is running under Apache 2.2, PHP 5.2 and Windows 2003 with the eAccelerator here:
http://www.sitebuddy.com/PHP/Accelerators/eAccelerator_windows_binaries_builds

Hi. I am searching for a

Hi. I am searching for a working version for PHP 5.2.0 on Win 2003.
The one form here is not working for me.
My apache is starting and it stops after 1 min again :(

Can you plz give me a link?

Thx

Thanks for the post

Thanks for the post char101.

Please post when this is fixed. Will make a new version of ea available.

I am currently using svn

I am currently using svn 283, but I modified the file shm.c

line 163:
return

into

line 163-164:
else { COPY_PZVAL_TO_ZVAL(*return_value, value); }
return;

And up to this time, I haven't got any problem (yet) :D