Quote Originally Posted by LowlyWorm View Post
Thanks for the other info. You can't construct a string representing the combined parameters as they'd look at compile time and pass it at runtime in C++, Java etc. (as I'm sure you know :))
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.

Quote Originally Posted by LowlyWorm View Post
.. however PHP seems to be a complete free for all.. ! hehe ;-)
David
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)