peachpie icon indicating copy to clipboard operation
peachpie copied to clipboard

PeachPie - the PHP compiler and runtime for .NET and .NET Core

Results 108 peachpie issues
Sort by recently updated
recently updated
newest added

Since PHP's `switch` is syntactic sugar over a set of `if`s, we do implement it the same way. (With the exception if all the cases are integers). Roslyn already provides...

feature

example code: ```php class X { function __tostring() { return "\x11\x22\x33"; } //

Sample C# code: ```csharp namespace ClassLibrary { public struct MyStruct { public int Value; public MyStruct(int value) { Value = value; } } } ``` Sample PHP code: ```php function...

feature

I get the following error: `Unhandled exception. Error: Class 'SNMP' not found in` (folder name omitted) php-snmp was installed using apt on ubuntu, seems to be working on native php....

feature

**Configuration:** - [x] `` allows to set 8.0, latest refers to 8.0, default 7.4 **Language features:** - [x] Union types - [x] syntax, mixed - [x] type analysis, "null", nullability...

:arrow_double_up: enhancement
feature

This issue summarizes all the problems which cause WordPress PHPUnit tests to end prematurely (uncaught .NET exception, stack overflow etc.) or pollute output with extra text. Currently, they are solved...

:beetle: bug

Similarly to `PhpString` - `PhpArray` is just a thin wrapper over the lazily copied `OrderedDictionary`. Every value pass causes an unnecessary new allocation of `PhpArray`. Changing PhpArray to a struct...

:arrow_double_up: enhancement

include("test.php") is not processing the PHP tags when "test.php" was not compiled into an assembly. The PHP source code is dumped as is. We are testing latest peachpie version. Use...

feature

Write tests as PHPUnit Test Cases; using the following component: https://github.com/peachpiecompiler/phpunit-testadapter - [ ] new tests directory for PHPUnit tests cases - [ ] adopt the test adapter - [...

:arrow_double_up: enhancement

We have a bunch of features without being tested properly. Updated continuously. - [ ] `include __DIR__ . "/subdir/file.php";` to get resolved in compile time. Add counter to `Context.Include(string)` to...

:arrow_double_up: enhancement