We have talked a lot about calling PHP from within C# thanks to Peachpie, but the beauty of this compiler is that the interoperability feature works both ways. In this article, we will take a look at some of the ways you can use C# in PHP.
Although we still haven’t quite arrived at version 1.0.0, we recently introduced some interesting and useful features in Peachpie. This week, we released version 0.3.0 and there are some exciting additions to the compiler.
Peachpie is a compiler of the PHP language to .NET. The project is still in progress, but there is a plethora of interesting usecases for the compiler. This article is a tutorial for some of the more advanced interoperability options between PHP and C# using Peachpie.
As we continue making progress with the development of Peachpie, we have implemented several constructs that demonstrate the benefits of using a PHP compiler to .NET. This week, we would like to show some official PHP benchmarks and explain why this is significant.