Invention Application
- Patent Title: HIGH PERFORMANCE PHP
- Patent Title (中): 高性能PHP
-
Application No.: US14202809Application Date: 2014-03-10
-
Publication No.: US20140196005A1Publication Date: 2014-07-10
- Inventor: Iain Andrew Russell Proctor , Minghui Yang , Haiping Zhao
- Applicant: Facebook, Inc.
- Applicant Address: US CA Menlo Park
- Assignee: Facebook, Inc.
- Current Assignee: Facebook, Inc.
- Current Assignee Address: US CA Menlo Park
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F17/22

Abstract:
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.
Public/Granted literature
- US09753697B2 High performance PHP Public/Granted day:2017-09-05
Information query