- 
                Notifications
    
You must be signed in to change notification settings  - Fork 402
 
Closed
Description
As of right now, ANet's PHP SDK cannot run on PHP 7.4, as it throws errors about invalid code in the various model types, e.g.
    <h4>A PHP Error was encountered</h4>
    <p>Severity: 8192</p>
    <p>Message: Cannot use "parent" when current class scope has no parent</p>
    <p>Filename: v1/MessagesType.php</p>
    <p>Line Number: 134</p>I believe this is due to the new JIT compiler seeing things like
    return array_merge(parent::jsonSerialize(), $values);on classes that don't actually have parents.
PR #382 already exists and appears to fix this, but even just some news that an in-house solution is in the works would be helpful.
garrettgjb, Lardpower, freddyouellette, soundslocke, turbo124 and 13 moreJoeGutierrez
Metadata
Metadata
Assignees
Labels
No labels