|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-12-13 14:58 UTC] val@php.net
[2006-12-17 06:00 UTC] val@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 21:00:01 2025 UTC |
Description: ------------ I use PHP5.1.6 as an Apache2.2.3 module with the bcompiler extension (version 0.8s) installed. I get the error if there is any uppercase character in the class declaration. It does not matter if the classname is written with uppercase letters at useage or as parameter for bcompiler_write_class. Reproduce code: --------------- compile.php: <?php class fooBar {} $h=fopen('bytecode.php', 'w'); bcompiler_write_header($h); bcompiler_write_class($h, 'fooBar'); bcompiler_write_footer($h); fclose($h); ?> run.php: <?php include 'bytecode.php'; $instance=new fooBar(); ?> Expected result: ---------------- I expected run.php to run without an error. Actual result: -------------- Fatal error: Class 'fooBar' not found in run.php on line 3