Dragonlord wrote:
PHP is though not a programming language but a markup script language.
I have to disagree. HTML is a markup language. PHP is a scripting language. PHP's output CAN BE a markup language, but that's all about it.
Dragonlord wrote:
It has been created for creating dynamic looking web sites ( original name means Personal Home Page ).
Yet it's excellent for any other type of software as well. I primarily use it for commandline and GTK applications.
Dragonlord wrote:
it's okay for learning scripting but for programming it might be a bit exotic.
It's perfect for LEARNING PROGRAMMING. It's easy to get in, supports you with various excellent predefined functions, and as already mentioned... it introduces you to the C style of programming.
Dragonlord wrote:
Furthermore you need a web-server all the time and the mixing with HTML code is something which can confuse new players in the game.
Wohoowhoa! Hey man... never heard about PHP-GTK and other extensions for display matters?! You don't need no webserver, not at all. Further, I assume you've never written and run a commandline script with PHP, ey?
Dragonlord wrote:
PHP is not cross platform. Functions are "compiled in" depending on the OS. Therefore using some functions you can quickly hit a wall on another platform
Then explain me how I manage to write my PHP applications on Linux and can run it entirely failsafe on Windows or Mac... of course, there are aspects that are bound to the operating system, but that's easy to get around if you're clever, plus - these aspects exist in all programming languages.