Set of alternative PHP implementations developed by Facebook
HipHop for PHP
Developer(s)
Facebook, Inc.
Initial release
February 2, 2010; 14 years ago (2010-02-02)[1]
Final release
Replaced by HHVM[2][3]
/ 2013; 11 years ago (2013)
Repository
github.com/facebook/hiphop-php
Written in
C++, C, PHP
Successor
HHVM
License
PHP License
Website
github.com/facebook/hiphop-php
HipHop for PHP (HPHPc) is a discontinued PHP transpiler created by Facebook. By using HPHPc as a source-to-source compiler, PHP code is translated into C++, compiled into a binary and run as an executable, as opposed to the PHP's usual execution path of PHP code being transformed into opcodes and interpreted. HPHPc consists mainly of C++, C and PHP source codes, and it is free and open-source software distributed under the PHP License.
The original motivation behind HipHop was to save resources on Facebook servers, given the large PHP codebase of facebook.com. As the development of HipHop progressed, it was realised that HipHop could substantially increase the speed of PHP applications in general. Increases in web page generation throughput by factors of up to six have been observed over the Zend PHP.[4][5][6][7][8] A stated goal of HPHPc was to provide a high level of compatibility for Zend PHP, where most Zend-based PHP programs run unmodified on HPHPc.[6] HPHPc was originally open sourced in early 2010.[1]
As an addition to HPHPc, Facebook engineers also created a "developer mode" of HipHop (interpreted version of a PHP execution engine, known as HPHPi) and the HipHop debugger (known as HPHPd). These additions allow developers to run PHP code through the same logic provided by HPHPc while making it possible to interactively debug PHP code by defining watches, breakpoints, etc. Running the code through HPHPi yields lower performance when compared to HPHPc, but the developer benefits were, at the time, worth having to maintain these two execution engines for production and development. HPHPi and HPHPd were also open sourced in 2010.[1]
By many accounts HPHPc fulfilled its goals, especially within Facebook as it allowed facebook.com to run much faster while using fewer resources. However, in early 2013 Facebook deprecated HPHPc in favor of the HipHop Virtual Machine (HHVM), which is a just-in-time (JIT) compilation-based execution engine for PHP, also developed by Facebook.[2][9] There were many reasons for this; one of them was HPHPc's flattened curve for further performance improvements. Also, HPHPc did not fully support the PHP language, including the create_function() and eval() constructs, and it involved a specific time- and resource-consuming deployment process that required a bigger than 1 GB binary to be compiled and distributed to many servers in short order. In addition, maintaining HPHPc and HPHPi in parallel (as they needed to be, for the consistency of production and development environments) was becoming cumbersome. Finally, HPHPc was not a drop-in replacement for Zend, requiring external customers to change their whole development and deployment processes to use HPHPc.[2]
HipHopforPHP (HPHPc) is a discontinued PHP transpiler created by Facebook. By using HPHPc as a source-to-source compiler, PHP code is translated into...
terms of the PHP License and Zend License. HHVM was created as the successor to the HipHopforPHP (HPHPc) PHP execution engine, which is a PHP-to-C++ transpiler...
stuff for investments and he's lagging and I can't take the lag." Zuckerberg's attorney warned Zuckerberg that the dilution might trigger a lawsuit for breach...
country in refugee boats. Chan grew up speaking Cantonese and interpreted for her grandparents. She has two younger sisters, Michelle and Elaine. Chan's...
PlayStation 3. On February 2, 2010, Facebook announced the release of HipHopforPHP as an opensource project. Mark Zuckerberg said that his team from Facebook...
conference held by Meta Platforms (formerly Facebook) since 2007, intended for developers and entrepreneurs who build products and services around the website...
is also an academic research laboratory focused on generating knowledge for the AI community. This is in contrast to Facebook's Applied Machine Learning...
Diploma Program. Moskovitz attended Harvard University as an economics major for two years before he moved with Mark Zuckerberg to Palo Alto, California in...
instant messaging client for smartphones. Metz, Cade (5 April 2016). "Forget Apple vs. the FBI: WhatsApp Just Switched on Encryption for a Billion People"....
McCollum was a member of the Harvard team that competed in the 31st Association for Computing Machinery International Collegiate Programming Contest in Tokyo...
December 3, 1979) is an American entrepreneur and philanthropist, most notable for co-founding the file-sharing computer service Napster, and was the first...
intended for mixed reality software. The Quest 3 can run as either a standalone headset, or use the "Quest Link" feature to function as a VR headset for a personal...
was "completely improper". In January 2004, Zuckerberg began writing code for a new website. On February 4, 2004, Zuckerberg launched "Thefacebook", originally...
framework created by Meta Platforms, Inc. It is used to develop applications for Android: §Chapter 1 , Android TV, iOS: §Chapter 1 , macOS, tvOS, Web, Windows...
became a product design manager, and in 2012 became the design director for the company's mobile apps. From 2012 to 2016, Mosseri oversaw Facebook's...
staff were involved with the project, although Saverin was a consultant for Mezrich's book. Production began when Sorkin signed to write it. Principal...
revenue for the US Treasury. In April 2020 Tan drew criticism when it was announced that he was forcing employees of Broadcom to return to work for 1 week...
users within a 100 km (62.14 mi) range. There is also an option to look for users that are in or out of range temporarily, as well as a Lucky Match filter...
S. users that month. Facebook Watch's original video content is produced for the company by others, who earn 55% of advertising revenue (Facebook keeps...