3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $p = "PHP"; $P = "php"; echo ($p < $P) + 2 * ($p > $P) + 3 * ($p == $P);
based on SHT6c
Output for 4.3.0 - 7.2.0
1