This is the Peachpie portion of a benchmarking test suite comparing a variety of web development platforms.
As we want Peachpie to be comparable to the PHP Interpreter, we derived our tests from theirs with the following modifications:
Some logic was updated to prevent warnings during verification.
Global code was enclosed in functions. Not only is Peachpie able to optimize such code better, but it is also a common programming practice.
Because PDO is not yet implemented in Peachpie, old-fashioned MySQL functions such as mysql_connect()
are used. We are going to replace them by PDO eventually.
Currently, only raw database tests without ORM are performed.