Invention Grant
- Patent Title: High performance PHP
-
Application No.: US14202809Application Date: 2014-03-10
-
Publication No.: US09753697B2Publication Date: 2017-09-05
- 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
- Agency: Fenwick & West LLP
- Main IPC: G06F17/22
- IPC: G06F17/22 ; G06F9/44 ; G06F9/45

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
- US20140196005A1 HIGH PERFORMANCE PHP Public/Granted day:2014-07-10
Information query