Diving in the OPcache

By Gabriel Zerbib

Once a mere HTML forms processor, PHP has dramatically evolved into a capable, mature programming language. But it was never tailored to support the distribution of a program in a non-source code package. In this article, we study some of the engine’s internal mechanisms and consider a few observations with the OPcache extension to propose a simple modification which could open the way to the deployment of pre-compiled PHP programs.

This article was originally published in the January 2019 issue of php[architect] magazine. To read the complete article please subscribe or purchase the complete issue.

Leave a comment

Use the form below to leave a comment: