3v4l.org

run code in 300+ PHP versions simultaneously
<?php $code = <<<CODE try{ throw new Exception('test'); }catch(Exception \$e) { echo "seen"; die('never gonna give up'); } echo "made it"; CODE; eval($code);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9MF18
function name:  (null)
number of ops:  3
compiled vars:  !0 = $code
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'try%7B%0A++++throw+new+Exception%28%27test%27%29%3B%0A%7Dcatch%28Exception+%24e%29%0A%7B%0A++++echo+%22seen%22%3B%0A++++die%28%27never+gonna+give+up%27%29%3B%0A%7D%0Aecho+%22made+it%22%3B'
   13     1        INCLUDE_OR_EVAL                                          !0, EVAL
          2      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.73 ms | 939 KiB | 13 Q