3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php ini_set('display_errors', 1); error_reporting(E_ALL | E_STRICT); $data = null; echo $data['wok']; // Remains silent $data['test'] = 'test'; echo $data['wok']; // Gives an undefined error
Output for 5.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Notice: Undefined index: wok in /in/OiW3t on line 8
Output for 5.0.0 - 5.0.5, 5.1.1 - 5.2.17
Notice: Undefined index: wok in /in/OiW3t on line 8
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/OiW3t on line 8
Process exited with code 255.
Output for 4.3.0 - 4.4.9
Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in /in/OiW3t on line 3 Notice: Undefined index: wok in /in/OiW3t on line 8