High performance PHP
AssigneeFacebook, Inc.
InventorsIain Andrew Russell Proctor, Minghui Yang, Haiping Zhao
Life of this patent
Estimating the term…
Loading patent…
AssigneeFacebook, Inc.
InventorsIain Andrew Russell Proctor, Minghui Yang, Haiping Zhao
Estimating the term…
Markup language documents including server side scripting code using PHP syntax are executed efficiently in response to requests received by a server. The processing of the markup language document results in generation of a transformed markup language document that is returned in response to the request. The server side script code is input to a compiler that generates C++ code (or code in any object-based language based on C language) implementing the functionality of the server side script code. The C++ code is compiled to generated object code which is executed in order to process the markup language document. The generated C++ code includes functionality supported by PHP language including redeclaration of functions, dynamic variables, global variables, and the like. The generated C++ code invokes memory allocation code that allocates and deallocates objects obtained by instantiating the generated C++ classes.
A computer-implemented method comprising:
A computer program product for storing object code on a non-transitory computer readable medium, the computer program product implementing functionality for efficiently executing server side script code, the computer program product comprising instructions for:
Dependencies are inferred from the claim text.