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.
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.
I believe this is due to the new JIT compiler seeing things like
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.