3v4l.org

run code in 300+ PHP versions simultaneously
<?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.0.20, 7.1.0 - 7.1.25, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
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.5.38, 5.6.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.

preferences:
211.27 ms | 402 KiB | 238 Q