The four most interesting alternative uses for PHP are as a command-line scripting language, a cross-platform graphical user interface system, a games engine, and as a host for our own language - we will be looking at all three of these here. Due to a lack of support for various applications on Windows, several parts of both the command-line scripting section and the graphical user interfaces chapter will not work outside of a Unix environment.
Users of Cygwin may be able to circumvent this problem - problems and possible solutions are mentioned where appropriate. In the games section, the graphical games library for Unix is much more advanced than that for Windows, but, so as to help the largest audience, we use the slightly older cross-platform code only.
Copyright 2012 Future Publishing Limited (company
registered number 2008885), a company registered
in England and Wales whose registered office is at