3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump('0.0' != '.0'); var_dump('0.0' != '0.'); var_dump('0.0' != '0'); var_dump('0.0' !== '.0'); var_dump('0.0' !== '0.'); var_dump('0.0' !== '0');
based on jbVVG
Output for 4.3.0 - 5.0.0, 5.0.2 - 7.1.0
bool(false) bool(false) bool(false) bool(true) bool(true) bool(true)
Output for 5.0.1
bool(true) bool(false) bool(false) bool(true) bool(true) bool(true)