3v4l.org

run code in 200+ 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 - 7.1.10
01 Notice: Undefined variable: a in /in/FpPfM on line 4 1 Notice: Undefined variable: a in /in/FpPfM on line 5