.NET Framework implemented in PHP