<s>
HipHop	B-Language
for	I-Language
PHP	I-Language
(	O
HPHPc	B-Language
)	O
is	O
a	O
discontinued	O
PHP	B-Application
transpiler	B-Language
created	O
by	O
Facebook	B-Application
.	I-Application
</s>
<s>
By	O
using	O
HPHPc	B-Language
as	O
a	O
source-to-source	B-Language
compiler	I-Language
,	O
PHP	B-Application
code	O
is	O
translated	O
into	O
C++	B-Language
,	O
compiled	O
into	O
a	O
binary	O
and	O
run	O
as	O
an	O
executable	B-Application
,	O
as	O
opposed	O
to	O
the	O
PHP	B-Application
's	O
usual	O
execution	O
path	O
of	O
PHP	B-Application
code	O
being	O
transformed	O
into	O
opcodes	B-Language
and	O
interpreted	B-Application
.	O
</s>
<s>
HPHPc	B-Language
consists	O
mainly	O
of	O
C++	B-Language
,	O
C	B-Language
and	O
PHP	B-Application
source	O
codes	O
,	O
and	O
it	O
is	O
free	B-License
and	I-License
open-source	I-License
software	I-License
distributed	O
under	O
the	O
PHP	B-Language
License	I-Language
.	O
</s>
<s>
The	O
original	O
motivation	O
behind	O
HipHop	B-Language
was	O
to	O
save	O
resources	O
on	O
Facebook	B-Application
servers	O
,	O
given	O
the	O
large	O
PHP	B-Application
codebase	O
of	O
facebook.com	B-Application
.	O
</s>
<s>
As	O
the	O
development	O
of	O
HipHop	B-Language
progressed	O
,	O
it	O
was	O
realised	O
that	O
HipHop	B-Language
could	O
substantially	O
increase	O
the	O
speed	O
of	O
PHP	B-Application
applications	O
in	O
general	O
.	O
</s>
<s>
Increases	O
in	O
web	O
page	O
generation	O
throughput	O
by	O
factors	O
of	O
up	O
to	O
six	O
have	O
been	O
observed	O
over	O
the	O
Zend	B-Language
PHP	B-Application
.	O
</s>
<s>
A	O
stated	O
goal	O
of	O
HPHPc	B-Language
was	O
to	O
provide	O
a	O
high	O
level	O
of	O
compatibility	O
for	O
Zend	B-Language
PHP	B-Application
,	O
where	O
most	O
Zend-based	O
PHP	B-Application
programs	O
run	O
unmodified	O
on	O
HPHPc	B-Language
.	O
</s>
<s>
HPHPc	B-Language
was	O
originally	O
open	O
sourced	O
in	O
early	O
2010	O
.	O
</s>
<s>
As	O
an	O
addition	O
to	O
HPHPc	B-Language
,	O
Facebook	B-Application
engineers	O
also	O
created	O
a	O
"	O
developer	O
mode	O
"	O
of	O
HipHop	B-Language
(	O
interpreted	B-Application
version	O
of	O
a	O
PHP	B-Application
execution	O
engine	O
,	O
known	O
as	O
HPHPi	B-Language
)	O
and	O
the	O
HipHop	B-Language
debugger	B-Application
(	O
known	O
as	O
HPHPd	B-Language
)	O
.	O
</s>
<s>
These	O
additions	O
allow	O
developers	O
to	O
run	O
PHP	B-Application
code	O
through	O
the	O
same	O
logic	O
provided	O
by	O
HPHPc	B-Language
while	O
making	O
it	O
possible	O
to	O
interactively	O
debug	O
PHP	B-Application
code	O
by	O
defining	O
watches	O
,	O
breakpoints	O
,	O
etc	O
.	O
</s>
<s>
Running	O
the	O
code	O
through	O
HPHPi	B-Language
yields	O
lower	O
performance	O
when	O
compared	O
to	O
HPHPc	B-Language
,	O
but	O
the	O
developer	O
benefits	O
were	O
,	O
at	O
the	O
time	O
,	O
worth	O
having	O
to	O
maintain	O
these	O
two	O
execution	O
engines	O
for	O
production	O
and	O
development	O
.	O
</s>
<s>
HPHPi	B-Language
and	O
HPHPd	B-Language
were	O
also	O
open	O
sourced	O
in	O
2010	O
.	O
</s>
<s>
By	O
many	O
accounts	O
HPHPc	B-Language
fulfilled	O
its	O
goals	O
,	O
especially	O
within	O
Facebook	B-Application
as	O
it	O
allowed	O
facebook.com	B-Application
to	O
run	O
much	O
faster	O
while	O
using	O
fewer	O
resources	O
.	O
</s>
<s>
However	O
,	O
in	O
early	O
2013	O
Facebook	B-Application
deprecated	O
HPHPc	B-Language
in	O
favor	O
of	O
the	O
HipHop	B-Language
Virtual	I-Language
Machine	I-Language
(	O
HHVM	B-Language
)	O
,	O
which	O
is	O
a	O
just-in-time	O
(	O
JIT	O
)	O
compilation-based	O
execution	O
engine	O
for	O
PHP	B-Application
,	O
also	O
developed	O
by	O
Facebook	B-Application
.	I-Application
</s>
<s>
There	O
were	O
many	O
reasons	O
for	O
this	O
;	O
one	O
of	O
them	O
was	O
HPHPc	B-Language
's	O
flattened	O
curve	O
for	O
further	O
performance	O
improvements	O
.	O
</s>
<s>
Also	O
,	O
HPHPc	B-Language
did	O
not	O
fully	O
support	O
the	O
PHP	B-Application
language	I-Application
,	O
including	O
the	O
create_function( )	O
and	O
eval( )	O
constructs	O
,	O
and	O
it	O
involved	O
a	O
specific	O
time	O
-	O
and	O
resource-consuming	O
deployment	O
process	O
that	O
required	O
a	O
bigger	O
than	O
1GB	O
binary	O
to	O
be	O
compiled	O
and	O
distributed	O
to	O
many	O
servers	O
in	O
short	O
order	O
.	O
</s>
<s>
In	O
addition	O
,	O
maintaining	O
HPHPc	B-Language
and	O
HPHPi	B-Language
in	O
parallel	O
(	O
as	O
they	O
needed	O
to	O
be	O
,	O
for	O
the	O
consistency	O
of	O
production	O
and	O
development	O
environments	O
)	O
was	O
becoming	O
cumbersome	O
.	O
</s>
<s>
Finally	O
,	O
HPHPc	B-Language
was	O
not	O
a	O
drop-in	O
replacement	O
for	O
Zend	B-Language
,	O
requiring	O
external	O
customers	O
to	O
change	O
their	O
whole	O
development	O
and	O
deployment	O
processes	O
to	O
use	O
HPHPc	B-Language
.	O
</s>
