“18” and 15 can be compared in PHP since it casts everything to the integer type. Post navigation How can you pass a variable by reference? How is it possible to cast types in PHP?