PHP4Mono is a compiler that enables Mono to run PHP code. It translates PHP scripts to Common Intermediate Language (CIL). Like that PHP scripts can be executed as console applications on Mono. You can even build GUIs directly from within a PHP script!
Be the first to post a text review of PHP4Mono - The Mono PHP Compiler. Rate and review a project by clicking thumbs up or thumbs down in the right column.
Bugfixes: - calls to methods defined in current class must now be preceded by $this-> and self:: respecitvely - calls to functions on top level of a script are resolved correctly now - overriding methods must now have the same or weaker visibility than the overridden one - several bugs were fixed when passing references as parameters to function calls - a bug was fixed when re-referencing a variable to another variable - combined arithmetic and assignment operators (such as +=) could now also be used with class members and array elements - a bug was fixed when nesting control structures - using :: and -> in one expression is resolved correctly now - the division operator '/' is now available - an assignment statement with an object operator on both sides is translated correctly now Changes: - the built in value types bool, int, double, string, null are used now instead of the object types PHP.Boolean, PHP.Integer, PHP.Double, PHP.String, PHP.Null - this made a complete rewrite of the internal variable pool necessary which handles references New Features: - the /out option may now include a directory - abstract classes - interfaces - exceptions - magic constants - array functions key($arr), current($arr), prev($arr), next($arr), each($arr) - break/continue may now be followed by an expression - accessing types of other .net assemblies using the /r option
A new release of the Mono PHP Compiler is now on SourceForge including souce code, binaries, samples and a tutorial. The major new feature is that you may now use functionality from other .NET assemblies directly from a PHP script as described in the previous post. Like that you can e.g. build Guis using the Gnome libraries. I also fixed a lot of bugs and implemented some other new features such as interfaces, abstract classes, exceptoins and magic constants. More details are available in the changelog which is enclosed in the binaires package.
Be the first person to add a text review.
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?
Thanks for your review!
Get credit for your review by logging in via OpenID. Click your account provider: