3v4l.org

run code in 300+ PHP versions simultaneously
<?php $img = imagecreate(10,10); ob_start(); imagepng($img); $contents = ob_get_clean(); imagedestroy($img); echo "done";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iE6CI
function name:  (null)
number of ops:  18
compiled vars:  !0 = $img, !1 = $contents
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'imagecreate'
          1        SEND_VAL_EX                                              10
          2        SEND_VAL_EX                                              10
          3        DO_FCALL                                      0  $2      
          4        ASSIGN                                                   !0, $2
    3     5        INIT_FCALL                                               'ob_start'
          6        DO_ICALL                                                 
    4     7        INIT_FCALL_BY_NAME                                       'imagepng'
          8        SEND_VAR_EX                                              !0
          9        DO_FCALL                                      0          
    5    10        INIT_FCALL                                               'ob_get_clean'
         11        DO_ICALL                                         $6      
         12        ASSIGN                                                   !1, $6
    6    13        INIT_FCALL_BY_NAME                                       'imagedestroy'
         14        SEND_VAR_EX                                              !0
         15        DO_FCALL                                      0          
    7    16        ECHO                                                     'done'
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.11 ms | 1394 KiB | 17 Q