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.
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.