3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $ex = "register_shutdown_function('assert', 'phpinfo()')"; ob_start('assert'); echo $ex; ob_get_flush();
based on VLlEC
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/Mdaf5
function name:  (null)
number of ops:  8
compiled vars:  !0 = $ex
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   ASSIGN                                                   !0, 'register_shutdown_function%28%27assert%27%2C+%27phpinfo%28%29%27%29'
   4     1        INIT_FCALL                                               'ob_start'
         2        SEND_VAL                                                 'assert'
         3        DO_ICALL                                                 
   5     4        ECHO                                                     !0
   6     5        INIT_FCALL                                               'ob_get_flush'
         6        DO_ICALL                                                 
         7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0