These values are compared using numeric order : Comparison Operators « Operator « PHP
- PHP
- Operator
- Comparison Operators
These values are compared using numeric order
if ('6 p' < 55) {
print '"6 p" is less than the number 55.';
} else {
print '"6 p" is not less than the number 55.';
}
?>
Related examples in the same category