3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $v1 = ord(' ') - ord('B'); $v2 = strcmp(' ', 'B'); echo $v1.' '.$v2; if($v1 === $v2) { echo 'True'; }
Output for 4.3.0 - 7.1.0
-34 -34True