Which mysql library is supported in php hiphop?

836 Views Asked by At

In regular php, there are multiple libraries for accessing mysql, such as mysql, mysqli, pdo and mysqlnd.

Which of these libraries are supported in php hiphop (https://github.com/facebook/hiphop-php/wiki/)?

2

There are 2 best solutions below

2
On

Hiphip for PHP is not library/module specific. Built-in PHP modules are already written in C++ and compiled. You can write your own by hand. All that Hiphop for PHP does is automates that process for you. Since the built in modules are already compiled, Hiphop for PHP just ignores them. It has no bearing on what built-in libraries you can use in your code or what it works with.

The only place you may find issues with Hiphop for PHP is if you write closures or evals in your code. As of the last time I checked, Hiphop for PHP could not handle them. However, things may have changed since then.

EDIT:
Looks like interoperability with all built in functions was not fully implemented after all. Documentation and use of Hiphop is pretty minimal (as in you've already found it). You may just want to do some small tests to see if the libraries you want to use are supported. Do post the results back up here so others can benefit!

0
On

No php Hip-Hop does'nt support any of this libraries except PDO

I have also tried it but it did'nt work

For Further information please see below link:-

http://php.webtutor.pl/en/2011/05/10/hiphop-for-php-unimplemented-functions-and-features/