On 28/10/2009, at 4:43 PM, Michael wrote: > The O.P. may be assuming PHP compilation is for something it (AFAIK) > isn't. > > In conversations with Zend I have been advised that it's for code > copy-protection and licensing and has no performance benefits. > > If someone can point me to something that quantifies otherwise, > please do as I > am always looking for a angle to tweak my code...
A standard bytecode cache like APC can speed up your code considerably depending on what you're doing - I've seen 200%+ performance improvements in production code using bytecode caching alone within Zend Server. Frameworks like Symfony benefit massively because of the sheer volume of source files and classes that need to be interpreted. When Zend talk about copy protection they're referring to the ability to also distribute "encoded" PHP files - effectively distributable intermediate code, usually obfuscated and with your own licensing requirements interpreted by Zend Server. IonCube have a similar product, I'm not aware of any open source alternatives. Kind regards, James McGlinn __________________________________ CTO Eventfinder Limited Suite 106, Heards Building 2 Ruskin Street, Parnell, Auckland 1052 Phone: +649 365 2342 Mobile: +6421 633 234 [email protected] | www.eventfinder.co.nz --~--~---------~--~----~------------~-------~--~----~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected] -~----------~----~----~----~------~----~------~--~---
