3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function shutdown() { $error = error_get_last(); if (empty($error) ) { print 'dismissed'; return; } print 'Ended'.$error; } register_shutdown_function('shutdown'); trigger_error('yoo', E_USER_DEPRECATED);
based on GORgN
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.3.0beta1
Deprecated: yoo in /in/Pv7iG on line 14 Notice: Array to string conversion in /in/Pv7iG on line 10 EndedArray
Output for hhvm-3.22.0
Notice: Array to string conversion in /in/Pv7iG on line -1 EndedArray
Output for hhvm-3.18.5 - 3.21.3
Notice: Array to string conversion in /in/Pv7iG on line 10 EndedArray