Optimizations are one of the great advantages of compilers and just-in-time compilers, and one of the key features of Peachpie. In this post we’ll show you that with Peachpie we achieve far more than “just” compatibility with a significant amount of existing PHP code and great possibilities of interoperating between PHP and .NET.

(more…)

PHP is a language well known for its many dynamic features that are occasionally somewhat overused. Whether it is dynamic typing, type juggling or dynamic code evaluation, these features are very demanding on the underlying runtime. Another feature, the so called ‘eval’, is no less interesting. Let’s examine it further.

(more…)

It took a while, but we have finally gotten Peachpie up to speed with the latest development over at Microsoft. Project.json is now history and MSBuild has taken over as the go-to build platform of Microsoft and Visual Studio. Besides this major change, we are also happy to announce that Peachpie finally supports .NET Core 1.1.

(more…)

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.

(more…)

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.

(more…)

With each new release of our PHP to .NET compiler, we implement more and more PHP syntax. This week, we would like to demonstrate some of the nifty features of PHP.

(more…)

We are happy to announce the release of Peachpie 0.2.0. The latest preview of the PHP compiler to .NET is now publicly available as a set of NuGet packages for everybody to try.

(more…)

This tutorial will show you how to set up Peachpie compiler in Visual Studio Code and compile PHP to .NET Core as simply as ever.

(more…)

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.

(more…)

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.

(more…)