Why PHP is loosely typed language

Why PHP is loosely typed language

Add Comment
2 Answer(s)

People who are not really experienced in web development will hardly know the qualities of a language. While professionals in this world can bathe and describe what PHP is most interesting for. This language is indeed one of the most widely used in the world, which only speaks of the famous big sites that have used them and which continue to draw the power of PHP. What makes the peculiarity of PHP is that it can be married to various other languages. It has always been used with HTML or CSS files.

Scholar Answered on .
Add Comment

A loosely typed language such as PHP is a language that does not require you to declare a variable type when declaring a variable.  What does that mean?  In PHP when you declare a variable, you can with no need to worry about what kind of data will be stored in that variable.  I could make a new variable called $string and then assign it an integer value.

Learner Answered on .
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.