repl icon indicating copy to clipboard operation
repl copied to clipboard

PHP missing in repl4

Open Happypig375 opened this issue 3 years ago • 2 comments

Happypig375 avatar Jul 24 '22 09:07 Happypig375

I try to add it but it's failing compilation :/ The problem with the PHP target is it's not maintained at the moment so we may have to remove it at one point.

alfonsogarciacaro avatar Jul 27 '22 04:07 alfonsogarciacaro

I didn't try yet to activate PHP on Fable Repl4 with the new build.

But my guess is the compilation fails because of duplicate class member:

CleanShot 2023-11-10 at 23 58 06@2x

This is the result of compilation fable-standalone with esbuild now.

The first warning GetOutputPath is related to the Fable plugin interface so it is not too harmful, however the others warnings are all related to the PHP target. And I suppose they are harmful, because JavaScript doesn't have method overload for classes and I suppose the code just doesn't know what is happening.

MangelMaxime avatar Nov 10 '23 23:11 MangelMaxime