3v4l.org

run code in 300+ PHP versions simultaneously
<?php ob_start(); echo 123; trigger_error('test error', E_USER_ERROR); $contents = ob_get_contents(); ob_end_clean(); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/62GqR
function name:  (null)
number of ops:  13
compiled vars:  !0 = $contents
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'ob_start'
          1        DO_ICALL                                                 
    3     2        ECHO                                                     123
    4     3        INIT_FCALL                                               'trigger_error'
          4        SEND_VAL                                                 'test+error'
          5        SEND_VAL                                                 256
          6        DO_ICALL                                                 
    5     7        INIT_FCALL                                               'ob_get_contents'
          8        DO_ICALL                                         $3      
          9        ASSIGN                                                   !0, $3
    6    10        INIT_FCALL                                               'ob_end_clean'
         11        DO_ICALL                                                 
    7    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.57 ms | 1398 KiB | 21 Q