diff --git a/resources/content/comparison-06-less-than.md b/resources/content/comparison-06-less-than.md index 51bdc51..3c410ad 100644 --- a/resources/content/comparison-06-less-than.md +++ b/resources/content/comparison-06-less-than.md @@ -10,6 +10,6 @@ Check if the value to the left is less than the value to the right. ```php 2 < 3; // true -2 < '3'; // false -2 < 3.0; // false +2 < '3'; // true +2 < 3.0; // true ``` diff --git a/resources/content/comparison-07-greater-than.md b/resources/content/comparison-07-greater-than.md index 29a30a5..4ab3153 100644 --- a/resources/content/comparison-07-greater-than.md +++ b/resources/content/comparison-07-greater-than.md @@ -10,6 +10,6 @@ Check if the value to the left is greater than the value to the right. ```php 3 > 2; // true -2 > '2'; // false -2 > 2.0; // false +3 > '2'; // true +3 > 2.0; // true ```