Tuesday 11 June 2013

How to convert data type from one format to another in PHP

PHP is a loosely typed language that means We do not need to define the data type of variable in php.

Data types of variables are implicitly converted to another format based upon the context in which it is used.

So it relies on the developer to use correct code while comparing 2 or more values.