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'); } CODE; eval($code);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Moemc
function name:  (null)
number of ops:  6
compiled vars:  !0 = $code, !1 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ROPE_INIT                                     3  ~3      'try%7B%0A++++throw+new+Exception%28%27test%27%29%3B%0A%7Dcatch%28Exception+'
    5     1        ROPE_ADD                                      1  ~3      ~3, !1
          2        ROPE_END                                      2  ~2      ~3, '%29%0A%7B%0A++++echo+%22seen%22%3B%0A++++die%28%27never+gonna+give+up%27%29%3B%0A%7D'
    2     3        ASSIGN                                                   !0, ~2
   12     4        INCLUDE_OR_EVAL                                          !0, EVAL
          5      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.83 ms | 940 KiB | 13 Q