3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo (strcmp('5-4',5) === 0 ? 'they are the same' : 'they aren\'t the same'); echo "\n"; echo ('5' == '5-4' ? 'they are the same' : 'they aren\'t the same'); echo "\n"; echo ('5' === 5 ? 'they are the same' : 'they aren\'t the same');
Output for 4.3.0 - 7.1.0
they aren't the same they aren't the same they aren't the same