PHP 8.0 Comparison Change ######################### :category: PHP :tags: php 8 :date: 2020-10-22 23:00:00 +0300 Another new thing in PHP 8.0 will be slightly less madness in non strict value comparison. .. TEASER_END Saner string to number comparisons ================================== https://wiki.php.net/rfc/string_to_number_comparison Here is the new table: .. raw:: html :file: posts/php/.php-8-comparison/comparison.html | *Red: false everywhere* | *Green: true everywhere* | *Blue: true in <= 7.4, false in >= 8.0* Saner numeric strings ===================== https://wiki.php.net/rfc/saner-numeric-strings .. raw:: html :file: posts/php/.php-8-comparison/numeric-strings.html | *Red: false everywhere* | *Green: true everywhere* | *Blue: true in <= 7.4, false in >= 8.0* | *Gold: false in <= 7.4, true in >= 8.0* .. raw:: html :file: posts/php/.php-8-comparison/style.html