I do, just as I'm sure you know by now that unlike C++, Java, etc, which are compiled, PHP is little more than a script.
I'm never really sure if this is a blessing or a curse. As you say, it makes it a free for all, which makes it a pretty easy language to learn, but it also allows the ability to create lots of buggy code that simply couldn't exist in a strictly typed language.
Mind you, PHP isn't the worst in this regard. Have you ever looked into Pyhon? It is the only language that I know where you can do something like:
variable = "Hello World"
print variable * 2
and it will dutifully print out "Hello World Hello World".
Now THAT's a free for all, but even odder is that Python is actually compiled and still allows this.
Cheers
Rod. (heading off to bed)



Reply With Quote
