#23410 [NEW]: bcompiler on windows error
| From: | mike at blueroot dot net | Date: | Tue, 29 Apr 2003 13:56:14 +0000 |
| Subject: | #23410 [NEW]: bcompiler on windows error | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-15710@lists.php.net to get a copy of this message | ||
From: mike at blueroot dot net
Operating system: Win32
PHP version: 4.3.1
PHP Bug Type: PEAR related
Bug description: bcompiler on windows error
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 bug report at http://bugs.php.net/?id=23410&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23410&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23410&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23410&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23410&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23410&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23410&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23410&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23410&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23410&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23410&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23410&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23410&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23410&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23410&r=gnused