3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php // given: unset($undef); $null = NULL; $false = FALSE; $true = TRUE; // these operations: isset($var) empty($var) array_key_exists('var', $GLOBALS) // "defined" below
Output for 5.4.0 - 5.4.26
Parse error: syntax error, unexpected 'empty' (T_EMPTY) in /in/jIdPA on line 10
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_EMPTY in /in/jIdPA on line 10
Process exited with code 255.