3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php /* $x = TRUE; <- TRUE; $x = FALSE; <- FALSE; $x = TRUE; */ function x($x){ return (!$x = !$x ? TRUE : FALSE); } var_dump(TRUE); var_dump(FALSE);
Output for 5.3.18 - 7.3.0beta1
bool(true) bool(false)