3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo (int) isset( $a ); // false and w/o error msg echo (int) empty( $a ); // true (false and 0 empty, too echo (int) is_null( $a ); // true and error msg echo (int) null === $a; // true and error msg
Output for 5.3.7 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
01 Notice: Undefined variable: a in /in/FpPfM on line 4 1 Notice: Undefined variable: a in /in/FpPfM on line 5
Output for hhvm-3.10.0

Process exited with code 153.