Questions tagged [hiphop]

HipHop for PHP transforms PHP source code into highly optimized C++.

HipHop for PHP transforms PHP source code into highly optimized C++.

115 questions
0
votes
2 answers

Convert a symfony application to an unreadable archive

A month ago a client asked me to develop an application, he didn't mention weather it’s a desktop or a web application. So I chose to develop a web application using the symfony framework Now the application is working fine, the client is satisfied,…
benaich
  • 912
  • 11
  • 29
0
votes
1 answer

SmartyPHP with Hip Hop

i can not seem to find a layman answer to this question i have, so hopefully you can help me. SmartyPHP application, heavily using Jquery, Ajax. In region of 1.2 million lines of code and growing by 200k weekly and likely to be 3 million lines…
Lillia
  • 1
0
votes
0 answers

Why HHVM execution time is too much as comparision of PHP for some code?

I have comapred PHP execution time VS HHVM execution time for some codes taken from http://phpbench.com/ . Except some function in all way HHVM is faster than PHP. Here are some codes in which php execution time is less than HHVM execution time…
govind
  • 21
  • 5
0
votes
1 answer

can we use hiphop compiled code in production server without source code?

we have a php based product, some of our customers ask for host the source on there server but for source code security we are not doing such hosting. my question is, can we host a hiphop compiled files on customer`s server. steps in my mind. we…
0
votes
0 answers

CSS links not being found (Laravel 4, Nginx, HipHop VM)

I found a ton of answers on here for this question but they don't appear to be working for me. I am trying to link my CSS and JS in my blade template but they are not working. I used:
Wally Kolcz
  • 1,604
  • 3
  • 24
  • 45
0
votes
2 answers

How to parse index.php in server root by default in HipHop / HHVM (and fix the "404 File Not Found" error)?

Reproduceable problem description: When installing HipHop / HHVM via the official way [1][2], and then running the built-in server [3] from /var/www via cd /var/www sudo hhvm -m server it will render a custom "404 File Not Found" message to the…
Sliq
  • 15,937
  • 27
  • 110
  • 143
0
votes
1 answer

hhvm and cron job hanging for ever

how to call hhvm in cron jobs ? In crontab I added given below line */30 07-22 * * * /usr/bin/hhvm /var/www/cronjob.php when i do ps aux | grep cron | grep -v grep root 960 0.0 0.0 25804 1140 ? Ss 12:30 0:00 cron ubuntu …
Vijay
  • 129
  • 11
0
votes
0 answers

HPHP HipHop for PHP make fails at 98%

[ 98%] Generating systemlib.php [ 98%] Built target systemlib Linking CXX executable hhvm ../third_party/thrift/libhphp_thrift.a(TEventBase.cpp.o): In function `apache::thrift::async::TEventBase::SmoothLoopTime::setTimeInterval(unsigned…
Bas Kuis
  • 748
  • 1
  • 7
  • 20
0
votes
0 answers

How to redirect example.com/url to www.example.com/url using HipHop VM

How do I redirect example.com/url to www.example.com/url using HipHop VM. I'm not sure where to begin with since the rewriterules section seems to only apply pattern matching to the path I've tried RewriteRules { rootdomain { pattern = * …
DiverseAndRemote.com
  • 19,314
  • 10
  • 61
  • 70
0
votes
1 answer

Does the current HipHop PHP a php2C++ translator or a JIT?

I have been searching for documentation of HipHop, and found the paper The HipHop Compiler for PHP which describes a compilation approach from PHP to C++ statically. While, in the source code it says this is a virtual machine and does JIT…
Joe C
  • 2,757
  • 2
  • 26
  • 46
0
votes
1 answer

Error in hiphop php installation on centos

I had followed the steps of installation from git I am getting this error when i am building hiphop i am using centos5x and installed all the dependencies root@host [~/hiphop/hiphop-php]# cmake . -- CMAKE_PREFIX_PATH was missing, proceeding…
0
votes
1 answer

HipHop Fatal error: syntax error, unexpected T_CLASS

I am trying to make a framework work for HHVM, but I am running into this weird error that only occurs in Hip-Hop HHVM. The same error only occurs in versions of PHP 5.2 and lower. The full error is HipHop Fatal error: syntax error, unexpected…
Devin Dixon
  • 11,553
  • 24
  • 86
  • 167
0
votes
1 answer

How to do static code analysis with HipHop for PHP?

I have installed hiphop on Ubuntu following these inscrutions : https://github.com/facebook/hiphop-php/wiki/Prebuilt-Packages-on-Ubuntu-12.04 Now how do I do static code analysis on a single/multilple php files with this?
simplfuzz
  • 12,479
  • 24
  • 84
  • 137
0
votes
1 answer

Hiphop custom extension

I am trying to create a simple hello world extension using HipHop version 2.1.0. I read the docs in doc/extension.development. However, I believe these are now outdated. I followed the instructions anyways EXT= make -C idl install cmake .…
Xibz
  • 356
  • 1
  • 5
  • 11
0
votes
1 answer

What does `<<` mean when declaring a variable in PHP?

I was looking at this article about facebook's HipHop Virtual Machine (HHVM) when I noticed this line:
iDev247
  • 1,761
  • 3
  • 16
  • 36