zendtech / ZendOptimizerPlus

Other
914 stars 142 forks source link

Bug #65845 not fixed (yet) #143

Closed dhardtke closed 9 years ago

dhardtke commented 10 years ago

Hi,

https://bugs.php.net/bug.php?id=65845 is apparently not fixed yet (or at least for me).

[crynick@draco tests]$ php ../../phpunit.phar bug65845.phpt 
PHPUnit 3.7.28 by Sebastian Bergmann.

F

Time: 320 ms, Memory: 1.50Mb

There was 1 failure:

1) bug65845.phpt
--- Expected
+++ Actual
@@ @@
-string(4) "tutu"
+Notice: Undefined index: toto in /home/crynick/tmp/ZendOptimizerPlus/tests/bug65845.php on line 3
+NULL

FAILURES!
Tests: 1, Assertions: 1, Failures: 1.
[crynick@draco tests]$

I have PHP 5.5.4 running and will upgrade to 5.5.5 as soon as my hoster allows me to :)

I also fixed a different bug by applying the patch from that bug ticket: I had a problem with the opcache "forgetting" session values (like it says I'm logged in on one page and I'm logged out on another one, but if I press F5 I get logged in again)...

laruence commented 10 years ago

I am not sure what's going wrong there, maybe you test with a wrong version PHP?