Phalanger: the PHP Language Compiler for .NET Framework
Translation of the original in Catalan. Read it in: CatalàCastellano

I already knew about this solution but I never remembered what its name was, in fact, I still have not been able to try it ever but from what I have seen on the web, in principle any of our code written in PHP should be able to be compiled into bytecode so that it could run on an ASP.NET web server.
Think how simple it will be then, to use code from .NET that we have made with PHP or the other way round, if we already have classes implemented in C# O VB.NET we will be able to use them calmly from PHP.
What a shame that I have never got into .NET or mono or anything at all. Besides, I doubt I will because it is not my job, but for some code I have made at work in PHP it would be a great advantage to be able to make it run directly on completely windows infrastructures, that way I would not have to port the PHP code to more complex languages in order to make it run on 2000 or 2003 servers with ISS and .NET.
To expand on the information I recommend the Phalanger website, it is quite complete and has a lot of documentation, if anyone ever tries the compiler let me know since I am very interested but it would mean a lot of work for me to try it with the infrastructure I have set up right now. Besides, I have no idea about .NET.