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 - 5.6.28, 7.0.0 - 7.1.0
-34 34
Output for hhvm-3.10.0 - 3.12.0
-34 1