3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $undef; $nothing = $undef; var_dump($nothing); debug_zval_dump('undef');
based on QLcC7
Output for 5.1.0 - 7.1.0, 7.1.7 - 7.2.0
Notice: Undefined variable: undef in /in/R8DMh on line 4 NULL string(5) "undef" refcount(1)
Output for 7.1.5 - 7.1.6
Notice: Undefined variable: undef in /in/R8DMh on line 4 NULL string(5) "undef" refcount(2)
Output for 5.0.4 - 5.0.5
Notice: Undefined variable: undef in /in/R8DMh on line 3 Notice: Undefined variable: undef in /in/R8DMh on line 4 NULL string(5) "undef" refcount(1)
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: undef in /in/R8DMh on line 3 Notice: Undefined variable: undef in /in/R8DMh on line 4 NULL string(5) "undef" refcount(1)