3v4l.org

run code in 200+ 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 ? '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.2.0
they aren't the same they are the same they aren't the same