3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = 1; $y = 2; if (!($x == $y)) { echo 'Are equal'; } else { echo 'Are not equal'; } echo "\n"; if (!$x == $y) { echo 'Are equal'; } else { echo 'Are not equal'; } var_dump(!$x);
based on 0MBQS
Output for 4.3.0 - 7.1.0
Are equal Are not equalbool(false)