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.0.4 - 5.0.5, 5.1.1 - 7.2.0
011 Notice: Undefined variable: a in /in/L7gIF on line 5
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/L7gIF on line 5
Process exited with code 255.
Output for 4.3.0 - 5.0.3
011 Notice: Undefined variable: a in /in/L7gIF on line 5