Compiling some classes
<?php

$fh 
fopen("/tmp/testa","w");
bcompiler_write_header($fh);
bcompiler_write_class($fh,'DB');   
bcompiler_write_class($fh,'PEAR_error');   
bcompiler_write_class($fh,'DB_error');   
fclose($fh);

?>
Including the classes
<?php

bcompiler_load
("/tmp/testa");
print_r(get_declared_classes());



?>