Has anyone tested the three opcode caches with the 5.4 release candidates?<p>I am depressed that eaccelerator seems to be fading away - they removed their shared memory functions for their build with 5.3 support.<p>In my experience eaccelerator is slightly faster and more stable than xcache. As a bonus, when it did have working shared memory functions (under php 5.2) it has session handler support so sessions are done completely in memory (added: without any additional code or modification)
Link didn't work for me, but <a href="http://jburrows.wordpress.com/2011/12/05/what-to-look-for-in-php-5-4-0/" rel="nofollow">http://jburrows.wordpress.com/2011/12/05/what-to-look-for-in...</a> did. Not sure why the date would have changed to earlier.
I still think PHP is good enough. Not the best, the fastest, the safest or the coolest but - good enough.<p>... and it will remain that way for a long, long time.
I'v been thinking about using Php lately. I come from a C# background, so I was poking around to see what I would be missing or gaining from Php. Why haven't they added a compiled option yet? I know you can use <a href="http://phpcompiler.org" rel="nofollow">http://phpcompiler.org</a> compiler to do it but why hasn't it just been added to the project? The speed increase is well worth it. Also I noticed Php doesn't have generics or Template classes. I use these a lot in my C# libraries. Anyone know if thats going to be added anytime soon? I do like that its used everywhere. Also looking for a good MVC framework for Php like Asp.net MVC.<p><i>UPDATE</i>
Can you please stop down voting. I'm not hating on Php, read my other comments below.
It's been a long time since I had any interest at all in PHP, and these new features make me feel uneasy once again.<p>The development server seems like the only good thing about it.<p>Traits looks like a silly implementation of multiple inheritance mixins, with a 'use' keyword that doesn't really fit in with the language itself. And the whole 'insteadof' thing looks weird. It will lead to hackish code for many people, encouraging weird monkey-patching.<p>The author says "when stored in an array", then proceeds to use "$functions['anonymous']". That's not an array. Sigh. I know PHP likes to call them that, but I just find it weird that they would continue to insist on mis-naming two of the fundamental data types of computer science.<p>The introduction of closures can only be a good thing, and a lot better than the passing of a string name of a function as a callback argument from before.<p>As usual though, it's expected that most servers and frameworks won't get the update for some time, due to whatever backwards incompatible changes have been made.<p>I know it's all the rage to hate on PHP these days, but even giving an objective look at the state of the language, given the thriving ecosystems of its competitors, makes it look to me like something I would never touch.