3v4l.org

run code in 300+ PHP versions simultaneously
<?php $im = imagecreatefrompng("test.png"); header('Content-Type: image/png'); imagepng($im, ''); imagedestroy($im);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/svIcE
function name:  (null)
number of ops:  15
compiled vars:  !0 = $im
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'imagecreatefrompng'
          1        SEND_VAL_EX                                              'test.png'
          2        DO_FCALL                                      0  $1      
          3        ASSIGN                                                   !0, $1
    4     4        INIT_FCALL                                               'header'
          5        SEND_VAL                                                 'Content-Type%3A+image%2Fpng'
          6        DO_ICALL                                                 
    6     7        INIT_FCALL_BY_NAME                                       'imagepng'
          8        SEND_VAR_EX                                              !0
          9        SEND_VAL_EX                                              ''
         10        DO_FCALL                                      0          
    7    11        INIT_FCALL_BY_NAME                                       'imagedestroy'
         12        SEND_VAR_EX                                              !0
         13        DO_FCALL                                      0          
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.14 ms | 1394 KiB | 15 Q