peachpiecompiler / peachpie

PeachPie - the PHP compiler and runtime for .NET and .NET Core
https://www.peachpie.io
Apache License 2.0
2.38k stars 203 forks source link

class 'SplFileInfo' not implemented #140

Closed amigainc closed 6 years ago

amigainc commented 6 years ago

Hello, I have this warning when compiling a PHP Project. I thought SplFileInfo was native PHP class. Regards,

jakubmisek commented 6 years ago

Hi, SplFileInfo is a part of PHP (since PHP 5.1.2), however, not implemented in Peachpie yet.

Do you work on an opensource that might benefit from this?

amigainc commented 6 years ago

Indeed, I have a PHP project I try to convert as EXE, and developer uses this class. May you have an idea if and when this function would be implemented? Regards,

jakubmisek commented 6 years ago

We have no schedule so far - it depends on what project requires it, whether it is a blocking issue. If it is not an opensource or you'd like to keep it in private, please contact us on info@iolevel.com.

amigainc commented 6 years ago

Project is private, I'll rewrite it to exclude SplFileInfo, it'll be the most simple in a first time. Thanks for your answers.

jakubmisek commented 6 years ago

SplFileInfo stubs have been added. Please add an issue for specific methods that are not implemented.