Skip to content
This repository was archived by the owner on Apr 30, 2025. It is now read-only.
This repository was archived by the owner on Apr 30, 2025. It is now read-only.

Trouble with php target #312

@pizzadox9999

Description

@pizzadox9999

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:

  • 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

best regards pizzadox9999

PS: i'm trying it with a php 7.4.33 interpreter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions