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); 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/mVnA6
function name:  (null)
number of ops:  39
compiled vars:  !0 = $img, !1 = $color, !2 = $blue
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'ImageCreate'
          1        SEND_VAL_EX                                              400
          2        SEND_VAL_EX                                              400
          3        DO_FCALL                                      0  $3      
          4        ASSIGN                                                   !0, $3
    3     5        INIT_FCALL_BY_NAME                                       'ImageColorAllocate'
          6        SEND_VAR_EX                                              !0
          7        SEND_VAL_EX                                              233
          8        SEND_VAL_EX                                              0
          9        SEND_VAL_EX                                              0
         10        DO_FCALL                                      0  $5      
         11        ASSIGN                                                   !1, $5
    4    12        INIT_FCALL_BY_NAME                                       'imagecolorallocate'
         13        SEND_VAR_EX                                              !0
         14        SEND_VAL_EX                                              0
         15        SEND_VAL_EX                                              0
         16        SEND_VAL_EX                                              255
         17        DO_FCALL                                      0  $7      
         18        ASSIGN                                                   !2, $7
    5    19        INIT_FCALL_BY_NAME                                       'imagearc'
         20        SEND_VAR_EX                                              !0
         21        SEND_VAL_EX                                              '100'
         22        SEND_VAL_EX                                              '100'
         23        SEND_VAL_EX                                              '50'
         24        SEND_VAL_EX                                              '50'
         25        SEND_VAL_EX                                              '20'
         26        SEND_VAL_EX                                              '60'
         27        SEND_VAR_EX                                              !2
         28        DO_FCALL                                      0          
    6    29        INIT_FCALL                                               'header'
         30        SEND_VAL                                                 'Content-type%3A+image%2Fpng'
         31        DO_ICALL                                                 
    7    32        INIT_FCALL_BY_NAME                                       'imagepng'
         33        SEND_VAR_EX                                              !0
         34        DO_FCALL                                      0          
    8    35        INIT_FCALL_BY_NAME                                       'imagedestroy'
         36        SEND_VAR_EX                                              !0
         37        DO_FCALL                                      0          
    9    38      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.49 ms | 1396 KiB | 15 Q