Jump to content

jimfog

Recommended Posts

So...one question for now, in PHP, as I understand you do not have to declare the type of the variable, as opposed to C. I suppose the above feature of PHP, in other words, we say it is a loosely typed language. Is that correct? Does "loosely typed" means that?

Link to comment
Share on other sites

Not declaring variable types isn't the specific definition of a loosely typed language. There's not really a specific definition, in fact. But some of the common attributes involve implicit conversion and being able to change a variable's type, which would be one aspect of not declaring variable types. http://en.wikipedia.org/wiki/Weak_typing

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...