peachpie
peachpie copied to clipboard
PeachPie - the PHP compiler and runtime for .NET and .NET Core
````php // Why Logo Not Printing ?
Adminer (formerly phpMinAdmin) is a full-featured database management tool written in PHP. Conversely to phpMyAdmin, it consist of a single file ready to deploy to the target server. Adminer is...
``` Unhandled exception. System.ArgumentNullException: Value cannot be null. (Parameter 'tinfo') at Pchp.Core.Context.Create(RuntimeTypeHandle caller, PhpTypeInfo tinfo, PhpValue[] arguments) at .program_php.(Context , PhpArray , Object this, RuntimeTypeHandle ) in /home/chenfa/proj/mytestall_dir/helloword/program.php:line 5 at...
Sample: ```php class Test { public function __construct() { echo "constructor\r\n"; } public function __destruct() { echo "destructor\r\n"; } } new Test(); ``` PeachPie output: ``` constructor ``` PHP output:...
calling methods dynamically with ByRef argument is not handled properly, resulting in run-time exception. this happens only in some cases, ~~this feature seems to be implemented already for PHP-like functions~~...
**Configuration** - [x] LangVersion, /lang "8.1" **Constructs** - [ ] Enumerations (https://wiki.php.net/rfc/enumerations) - [ ] `readonly` properties - [ ] Array unpacking with string keys (https://wiki.php.net/rfc/array_unpacking_string_keys) - [x] oct number...
The compiler treats class declaration as postponed even if it could be declared immediately upon script include. This results in classes not being declared as expected. Sample: ```php
I would like to see the odbc (oledb) driver added. I think this would allow open up additional uses for peachpie by allowing connectiviity using ODBC. I currently have a...
What about a Rider Plugin?
Hello peachpie Can I find a complete WP plugin example written in C# somewhere. I want to make a plugin but needs some "inspiration" to get started! TIA! Henrik