bcompiler

A bytecode compiler


bcompiler enables you to encode your scripts in phpbytecode, enabling you to protect the source code.
bcompiler could be used in the following situations

- to create a exe file of a PHP-GTK application (in conjunction with other software)
- to create closed source libraries
- to provide clients with time expired software (prior to payment)
- to deliver close source applications
- for use on embedded systems, where disk space is a priority.

For install instructions see the manual at pear.php.net

Note: a PHP7 version is being worked on here - https://pecl.php.net/package/bcgen

License: PHP

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

Latest releases

Version Release Download
1.0.2 2011-06-09 bcompiler-1.0.2.tgz
1.0.1 2011-06-08 bcompiler-1.0.1.tgz
1.0.0 2011-06-08 bcompiler-1.0.0.tgz
0.9.3 2010-02-06 bcompiler-0.9.3.tgz
0.9.2 2009-12-30 bcompiler-0.9.2.tgz
Show all releases

Changelog

Version Message
1.0.2 Finally a stable release - Many thanks for Val for looking after the package.

- release with correct version number in source.
1.0.1 Finally a stable release - Many thanks for Val for looking after the package.

- oops - fix build failure..
1.0.0 Finally a stable release - Many thanks for Val for looking after the package.

- sources split to several files
- bcompiler.debug and bcompiler.debugfile ini entries to control debugging
- interfaces are serialized
- reflection info is serialized
- try to detect __FILE__ and __DIR__, bcompiler.detect_filedir=0 turns it off
- bug with not looking for gz/bz2 compressed sources in include_path fixed
- bug with handling classes when classname+filename > 127 bytes fixed
- bcompiled files are properly displayed in get_included_files()
- support for new superglobals
- fix segfault in bc_serialize_Filedir
0.9.3 - critical bugs fixed
0.9.2 - bcompiler_set_filename_handler() to change filename written into the bytecode
- test suite
- bugfixes
Show complete changelog