3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo (strcmp('5',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.1.0
they are the same they are the same they aren't the same