Thanks for replying. PHP looks like a cross between VB and cubescript. How long have you been using PHP for and what else do you use it for? What is the learning curve like?
Actually, it's more based off of C++, as the PHP parser is written in that language. It's not .NET based, so I don't know where you're getting the similarity to VB from.
I've been using it for nearly 2 years now.
As for the learning curve, it depends on what other languages you know. If you're proficient in C-based languages, then it's a heck of a lot easier. If you're used to .NET languages, it's harder.
As it was my first true programming language (Visual Basic 6 doesn't count), it took me about a year to become proficient.
It took another six months to really get into the advanced sections of PHP.
This is also because I learned PHP through the phpBB programming community. There are a lot of different things stressed there, such as code portability (if it can't work on most systems, you need to rewrite
) and security (preventing XSS, CSRF, SQL injects
A lot of programmers say that PHP is insecure. This is somewhat true..PHP provides a lot of opportunities for the programs to be written in an insecure fashion, and it used to have some things that would cause vulnerabilities (register_globals being one, from PHP4...it's disabled by default in PHP5 and removed entirely in PHP6
). However, it's always
the developer's responsibility to write their programs to be secure.What PHP is used for?
Primarily web development as a server-side programming language, but it also has other minor uses. There's some forks of PHP that allow it to have a GUI (I think it's the QT GUI, might be GTK, can't remember), and right now I'm constructing an IRC Bot using only PHP (with a later version using an SQLite database)