Configuration directives - chung-leong/qb GitHub Wiki
Use column-major matrix convention instead of row-major. Should be set prior to calls to qb_compile().
(introduced in version 1.4)
Default: on
Allow compilation to native code. This option can only be set in php.ini.
Default: off
Compile functions to native code unless they're specifically set to use bytecode interpretation (@engine qb-bytecode). Has no effect unless qb.allow_native_compilation is turned on.
Default: off
Path to the C compiler.
Default: gcc on Linux/Unix, cl.exe on Windows
The PATH environment variable for the compiler.
Default: inherited
Path to the folder where compiled native code (object files) is stored.
Default: temporary folder of operation system
Allow bytecode interpretation to occur. Setting this option to off means that only native code execution is permitted. Normally when QB fails to compile a function to native code, it would fall back to using bytecode interpretation. Turn it off could be useful for testing purpose.
Default: on
Allow the use of memory mapped files. If this option to turned off and a file resource is passed to a PHP+QB function, the file in its entirety would be read into memory instead.
This option can only be set in php.ini.
Default: on
Allow xdebug to inspect variables inside a PHP+QB function. When QB detects the presence of a PHP debugger, it generates extra instructions to enable the inspection of variables inside PHP+QB functions. The overhead is very high. Turn this option off if there's a PHP+QB function that perform a large number of iterations and you do not actually need to step into it.
Default: on
Allow debug_backtrace() to see PHP+QB function calls. Normally, QB does not update the PHP call stack when one PHP+QB function calls another PHP+QB function. The calls are through invisible to debug_backtrace(). When this option is turned on, QB adds the necessary data for debug_backtrace() so you can see the correct call stack--at the cost of significant performance degradation.
Default: off
The following directives are used by the developers of QB to debug and optimize it:
Path to a log file to which the duration of each PHP+QB function's execution is recorded
Default: no logging
Show the opcodes generated by the QB compiler.
Default: off
Show the C code generated by QB when it compiles a function to native code.
Default: off
Show error messages from the compiler.
Default: off
Show the Zend opcodes of a PHP function being compiled.
Default: off