Optimizing PHP Code with Peachpie – Part 1

Posted on June 21, 2017, in category Benchmark, Information, tags: , , , , , , ,

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.

... continue reading

Evil Eval – PHP Scripting in .NET with Peachpie

Posted on April 11, 2017, in category Announcement, News, tags: , , , , , ,

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.

... continue reading

Perks of Peachpie and Roslyn: Powerful Code Snippets

Posted on March 27, 2017, in category Announcement, Information, Snippets, tags: , ,

We mixed in something a little different this week. If you go back to our older blog posts, you may notice that something has changed.

... continue reading

Announcing the Public Preview of Peachpie 0.2.0

Posted on November 14, 2016, in category Announcement, News, tags: , , , , ,

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.

... continue reading

Tutorial: Advanced Interoperability Between PHP and C# with Peachpie

Posted on July 25, 2016, in category Information, Tutorial, tags: , , , , , , , ,

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.

... continue reading

Benefits of Compiling PHP to .NET with Peachpie

Posted on July 18, 2016, in category Profiling, tags: , , , , , , , ,

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.

... continue reading

Running PHP on Microsoft Azure with Peachpie

As announced in the last blog post, there has been some major progress in the development of the Peachpie platform over the last couple of weeks. Peachpie is now capable of running compiled PHP applications on IIS and on the Microsoft Azure cloud.

... continue reading

Peachpie.io gets a new look

Posted on June 29, 2016, in category News, tags: , , , , , , , , , , ,

No benchmarks this week, but we do have a few announcements. Not only about the technology itself, but also about the infrastructure that surrounds it.

... continue reading

What Happens when PHP Static Fields are Compiled to .NET

Posted on June 22, 2016, in category Benchmark, tags: , , , , , , , , ,

Read about what happens to PHP static fields when compiled to .NET.

... continue reading

Foreach and Other Planned Work from PHP to .NET

Posted on June 7, 2016, in category News, tags: , , , , , , ,

Last week we introduced the recently implemented include functionality and benchmarked how Peachpie fares with it compared to standard PHP. This week we would like to present another newly included feature and to show what else we will be working on in the coming weeks.

... continue reading