qb

Accelerator designed mainly for graphic work


QB stands for "Quick Binary." It's a PHP extension designed to enable faster handling of binary data. It takes a function written in PHP and translate it for a specialized virtual machine. The use of static type information leads significantly higher performance than under PHP's regular dynamic type system. A PHP+QB function can run anywhere from five to twenty times faster than regular PHP code. For even higher level of performance, one can compile PHP+QB functions to native code (on supported platforms).

QB performs code translation on a per-function basis. It does not affect in anyway code not specially marked. Interaction between PHP+QB functions and regular PHP code is basically seamless. A key design objective of QB is to let developers harness greater processing power than what baseline PHP offers without the risk involved in adopting a brand new platform.

License: PHP License

This package is not maintained, if you would like to take over please go to this page.

Latest releases

Version Release Download
2.4.0 2014-07-21 qb-2.4.0.tgz
2.3 2014-04-29 qb-2.3.tgz
2.2.0 2014-03-30 qb-2.2.0.tgz
2.1.2 2014-03-25 qb-2.1.2.tgz
2.1.1 2014-03-17 qb-2.1.1.tgz
Show all releases

Changelog

Version Message
2.4.0 Added option to emit errors as exceptions
Fixed issue #36 - Incorrect cast to int
Fixed issue #39 - Incompatibility with namespace usage
Fixed issue #40 - Incompatibility with namespace usage
Fixed issue #42 - Inability to append to array
Fixed issue #43 - Segfault when opcache is used
Fixed issue #46 - Incorrect array size when initialized with empty array
Fixed issue #48 - Memory-mapped file don't get released on function exit
Fixed issue #49 - Multiple static arrays cause failure to compile to native code
Fixed issue #50 - Cannot pass GD image as int8[][4]
Fixed issue $51 - Multithreading fails when pcntl_fork() is used
2.3 Enabled compilation using clang
Improved interpreter performance in 64-bit Windows
Implemented proper parser for type declaration
Bought complex number functions into compliance with ISO standard
Fixed issue #36 - Incorrect cast to int
2.2.0 Enabled compiling to native binary in Solaris and FreeBSD
Fixed issue #29 - Segfault during array resize in Solaris
Fixed issue #32 - Segfault when images are resized or created
Fixed issue #33 - Incorrect CPU count
Fixed issue #34 - Inability to call functions inside namespace
Fixed issue #35 - Segfault in PHP 5.5.8 when QB coroutine is called
Fixed issues flagged by Valgrind
2.1.2 Fixed issue #17 - Segfault with large fixed length array
Fixed issue #19, #28 - Errors in Solaris 11
Fixed issue #20 - Corruption of pass-by-ref variables
Fixed issue #21 - Conflict with xdebug in FreeBSD
Fixed issue #24 - Broken ZTS build
Fixed issue #27 - Incorrect object import
2.1.1 Initial release
Show complete changelog