3v4l.org

run code in 300+ PHP versions simultaneously
<?php $img = @ImageCreate (400, 400); $color = ImageColorAllocate ($img, 233, 0, 0); $blue = imagecolorallocate($img, 0, 0, 255); imagearc($img, '100', '100', '50', '50', '20', '60', $blue); //$DrawCon = new DrawConnector($img,'200','200','100','20','20'); //$DrawCon -> __draw($img, '0.1','0.2',$blue); header( "Content-type: image/png" ); imagepng($img); imagedestroy($img); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/P0ffp
function name:  (null)
number of ops:  41
compiled vars:  !0 = $img, !1 = $color, !2 = $blue
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   BEGIN_SILENCE                                    ~3      
          1        INIT_FCALL_BY_NAME                                       'ImageCreate'
          2        SEND_VAL_EX                                              400
          3        SEND_VAL_EX                                              400
          4        DO_FCALL                                      0  $4      
          5        END_SILENCE                                              ~3
          6        ASSIGN                                                   !0, $4
    5     7        INIT_FCALL_BY_NAME                                       'ImageColorAllocate'
          8        SEND_VAR_EX                                              !0
          9        SEND_VAL_EX                                              233
         10        SEND_VAL_EX                                              0
         11        SEND_VAL_EX                                              0
         12        DO_FCALL                                      0  $6      
         13        ASSIGN                                                   !1, $6
    7    14        INIT_FCALL_BY_NAME                                       'imagecolorallocate'
         15        SEND_VAR_EX                                              !0
         16        SEND_VAL_EX                                              0
         17        SEND_VAL_EX                                              0
         18        SEND_VAL_EX                                              255
         19        DO_FCALL                                      0  $8      
         20        ASSIGN                                                   !2, $8
    9    21        INIT_FCALL_BY_NAME                                       'imagearc'
         22        SEND_VAR_EX                                              !0
         23        SEND_VAL_EX                                              '100'
         24        SEND_VAL_EX                                              '100'
         25        SEND_VAL_EX                                              '50'
         26        SEND_VAL_EX                                              '50'
         27        SEND_VAL_EX                                              '20'
         28        SEND_VAL_EX                                              '60'
         29        SEND_VAR_EX                                              !2
         30        DO_FCALL                                      0          
   19    31        INIT_FCALL                                               'header'
         32        SEND_VAL                                                 'Content-type%3A+image%2Fpng'
         33        DO_ICALL                                                 
   21    34        INIT_FCALL_BY_NAME                                       'imagepng'
         35        SEND_VAR_EX                                              !0
         36        DO_FCALL                                      0          
   23    37        INIT_FCALL_BY_NAME                                       'imagedestroy'
         38        SEND_VAR_EX                                              !0
         39        DO_FCALL                                      0          
   27    40      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.05 ms | 1396 KiB | 15 Q