#23410 [Asn->Fbk]: bcompiler on windows error
| From: | alan_k@php.net | Date: | Fri, 06 Jun 2003 09:06:35 +0000 |
| Subject: | #23410 [Asn->Fbk]: bcompiler on windows error | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-17109@lists.php.net to get a copy of this message | ||
ID: 23410
Updated by: alan_k@php.net
Reported By: mike at blueroot dot net
-Status: Assigned
+Status: Feedback
Bug Type: PEAR related
Operating System: Win32
PHP Version: 4.3.1
Assigned To: alan_k
New Comment:
can you try in a few days when the snaps has built the latest release
Previous Comments:
------------------------------------------------------------------------
[2003-04-30 07:54:38] alan_k@php.net
ok - I better look at it then.. :)
------------------------------------------------------------------------
[2003-04-30 07:26:27] mike at blueroot dot net
Same errors.... :(
------------------------------------------------------------------------
[2003-04-30 00:27:25] alan_k@php.net
can you try the bcompiler.dll included in this - it should be in the
Program Files directory.
http://devel.akbkhome.com/gtkmdbdesigner_setup.exe
Regards
Alan
------------------------------------------------------------------------
[2003-04-29 09:08:02] arnaud@php.net
yeah, i know, too fast :)
------------------------------------------------------------------------
[2003-04-29 08:56:14] mike at blueroot dot net
I am using bcompiler on windows with apache.
PHP version 4.3.1
Apache 1.3.24
I downloaded the php_bcompiler.dll from snaps.php.net
I can compile classes using this code,
$fh = fopen("classes/portfolio.class.phc", "w+");
bcompiler_write_header($fh);
bcompiler_write_class($fh,"Portfolio");
bcompiler_write_footer($fh);
fclose($fh);
no errors are given and the files seem to be generated correctly.
When I try to reload the class using this code I get the error Warning:
bcompiler: Read Past End of File repeated many times and then apache
crashes.
$fh = fopen("classes/my.class.phc","r");
bcompiler_read($fh);
fclose($fh);
if I use the bcompiler_load function
ie. bcompiler_load('classes/my.class.phc'); I get the error
Warning: Could not find Magic header in stream
Sorry if this is the same cause as bug 21160. If it is, when will the
dll at snaps.php.net be fixed?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23410&edit=1