peachpiecompiler / peachpie

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

can not work woth tinyfilemanager #1120

Open gitlsl opened 10 months ago

gitlsl commented 10 months ago

Peachpie 1.1.9 .net7 vs2022 win11

https://github.com/prasathmani/tinyfilemanager I want to use tinyfilemanager by peachpie use peachpie asp.net core web app template replace into index.php when complie it show some warning

PeachPie PHP Compiler version 1.0.9+fd461dcb004df7d84be53252c300c4d882b81efd
warning PHP5008: Class 'COM' not found
warning PHP5011: Unreachable code detected
warning PHP5014: copy() expects 2 parameter(s), 3 given
warning PHP5006: Call to undefined function: 'posix_getpwuid'
warning PHP5006: Call to undefined function: 'posix_getgrgid'
warning PHP5006: Call to undefined function: 'posix_getpwuid'
warning PHP5006: Call to undefined function: 'posix_getgrgid'

when debug it show next excpetion, can not see anything at browser System.MissingMethodException: Method not found: 'Int64 Pchp.Library.DateTime.DateTimeFunctions.strtotime(System.String)'.