3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(0); $a = "2d9"; $a++; $a++; echo $a; // 2 // 2d11 //*3 // 4 // 4d9 // r2d2 echo "\n"; $a = "0"; $b = 0; $c = NULL; if ($a == $b && $b == $c) { echo $a == $c ? 'true' : 'false'; } else { echo 'none'; } // true //*false // none // 42 ?>
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
3 false