0
Guys if u execute this code it will output " smaller than 1" ....how!!! the variable is string not integer?
2 Réponses
+ 1
There is an implicit conversion of string to integer using intval function.
This function returns integer value on successful conversion, or 0 on failure.
If you try to convert your string to integer gives 0
echo intval($c);
So, 0<1 and gives output "smaller than 1"
+ 1
Prokopios Poulimenos
Thanks alot☺