Bytecode to source converting Java & Kotlin code into JavaScript, C++, D, C#, PHP, AS3, Dart and Haxe and run it everywhere. Also use JVM code in your favourite language as a library.
As sad I have a little bit of trouble with the php target. The thing is the genereted php seems not compatible with PHP 7 or above. But the haxe websites states that every version of haxe greate 4.0.0 supports php 7 and above. The errors I get at runtime are:
Array and string offset access syntax with curly braces is no longer supported \lib\php\Boot.class.php 267
Unparenthesized a ? b : c ? d : e is not supported. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e) \lib\php\Boot.class.php on line 539
and then came a lot of index errors
maybe someone could give me some insides tipps etc what i can do to get it running
Hi,
thank you for this amazing project.
As sad I have a little bit of trouble with the php target. The thing is the genereted php seems not compatible with PHP 7 or above. But the haxe websites states that every version of haxe greate 4.0.0 supports php 7 and above. The errors I get at runtime are:
a ? b : c ? d : e
is not supported. Use either(a ? b : c) ? d : e
ora ? b : (c ? d : e)
\lib\php\Boot.class.php on line 539maybe someone could give me some insides tipps etc what i can do to get it running
best regards pizzadox9999
PS: i'm trying it with a php 7.4.33 interpreter