|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2007-05-13 21:32 UTC] acrozes at hotmail dot com
Description: ------------ The src file is : <?php echo "teste un truc"; ?> And the bcompiled file of this file make failed apache http server (using wampserver 1.7.1) PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 02:00:02 2025 UTC |
Confirmed with WinXP PHP Version => 5.2.3 (May 31 2007 09:36:39) PHP Extension => 20060613 Zend Extension => 220060519 (i.e. xampp 1.6.3a for Windows) Test class 'a.php': <? class A { public function b() { print "a!\n"; } } ?> Test file: $fh = fopen('a.phb', 'wb'); bcompiler_write_header($fh); bcompiler_write_file($fh, "a.php"); bcompiler_write_footer($fh); fclose($fh); print "compiled.\n"; bcompiler_load_exe('a.phb'); print "loaded\n"; $x = new A(); print "constructed\n"; $x->b(); // <-- Windows: Access Violation // Debugger says: // Unhandled exception in zendoptimizer.dll, 0227e7be Disabling "zend_extension_ts = "C:\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll"" in php.ini makes the above work.