3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $secureprefix = 'fragment_'; $json = json_encode(str_repeat(chr(8), strlen($secureprefix)) . 'delete_instance'); $decode = json_decode($json); $result = $secureprefix . $decode; echo "Secure prefixed call: $result \n"; var_dump(component_callback('mod_forum', $result, array(FEATURE_COMPLETION_TRACKS_VIEWS)));
Output for 7.0.0 - 7.2.0
Secure prefixed call: fragment_delete_instance Fatal error: Uncaught Error: Call to undefined function component_callback() in /in/9RBs6:9 Stack trace: #0 {main} thrown in /in/9RBs6 on line 9
Process exited with code 255.
Output for 5.5.0 - 5.6.28
Secure prefixed call: fragment_delete_instance Fatal error: Call to undefined function component_callback() in /in/9RBs6 on line 9
Process exited with code 255.