You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 16, 2018. It is now read-only.
So at some magical point, bcompiler finally did compile and work :)
Now however, I have a different issue. The bytecode compiled on one mashine doesnt work on the same mashine. Like, I did this:
<?phpecho"Compiling.\n";
$fh = fopen("hello.phb", "w");
bcompiler_write_header($fh);
bcompiler_write_file($fh, "hello.php");
bcompiler_write_footer($fh);
fclose($fh);
echo"Now including hello.php:\n";
include"hello.php";
echo"Now including hello.phb:\n";
include"hello.phb";
?>
The compile target is:
<?phpecho"Hello world! I am compiled.\n";
?>
And when I run php compile.php, this come sout:
Kevins-MacBook-Air:compile Ingwie$ php compile.php
Compiling.
Now including hello.php:
Hello world! I am compiled.
Now including hello.phb:
Warning: bcompiler: Bad bytecode file format at 00000129 in /Users/Ingwie/Work/compile/compile.php on line 13
Any suggestions?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hey!
So at some magical point, bcompiler finally did compile and work :)
Now however, I have a different issue. The bytecode compiled on one mashine doesnt work on the same mashine. Like, I did this:
The compile target is:
And when I run
php compile.php
, this come sout:Any suggestions?
The text was updated successfully, but these errors were encountered: