3v4l.org

run code in 300+ PHP versions simultaneously
<?php header("Content-Type: image/png"); $im = @imagecreate(110, 20) or die("Cannot Initialize new GD image stream"); $background_color = imagecolorallocate($im, 0, 0, 0); $text_color = imagecolorallocate($im, 233, 14, 91); imagestring($im, 1, 5, 5, "A Simple Text String", $text_color); imagepng($im); imagedestroy($im); ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JfC4d
function name:  (null)
number of ops:  42
compiled vars:  !0 = $im, !1 = $background_color, !2 = $text_color
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'header'
          1        SEND_VAL                                                 'Content-Type%3A+image%2Fpng'
          2        DO_ICALL                                                 
    3     3        BEGIN_SILENCE                                    ~4      
          4        INIT_FCALL_BY_NAME                                       'imagecreate'
          5        SEND_VAL_EX                                              110
          6        SEND_VAL_EX                                              20
          7        DO_FCALL                                      0  $5      
          8        END_SILENCE                                              ~4
          9        ASSIGN                                           ~6      !0, $5
         10      > JMPNZ_EX                                         ~6      ~6, ->13
    4    11    > > EXIT                                                     'Cannot+Initialize+new+GD+image+stream'
         12*       BOOL                                             ~6      <true>
    5    13    >   INIT_FCALL_BY_NAME                                       'imagecolorallocate'
         14        SEND_VAR_EX                                              !0
         15        SEND_VAL_EX                                              0
         16        SEND_VAL_EX                                              0
         17        SEND_VAL_EX                                              0
         18        DO_FCALL                                      0  $7      
         19        ASSIGN                                                   !1, $7
    6    20        INIT_FCALL_BY_NAME                                       'imagecolorallocate'
         21        SEND_VAR_EX                                              !0
         22        SEND_VAL_EX                                              233
         23        SEND_VAL_EX                                              14
         24        SEND_VAL_EX                                              91
         25        DO_FCALL                                      0  $9      
         26        ASSIGN                                                   !2, $9
    7    27        INIT_FCALL_BY_NAME                                       'imagestring'
         28        SEND_VAR_EX                                              !0
         29        SEND_VAL_EX                                              1
         30        SEND_VAL_EX                                              5
         31        SEND_VAL_EX                                              5
         32        SEND_VAL_EX                                              'A+Simple+Text+String'
         33        SEND_VAR_EX                                              !2
         34        DO_FCALL                                      0          
    8    35        INIT_FCALL_BY_NAME                                       'imagepng'
         36        SEND_VAR_EX                                              !0
         37        DO_FCALL                                      0          
    9    38        INIT_FCALL_BY_NAME                                       'imagedestroy'
         39        SEND_VAR_EX                                              !0
         40        DO_FCALL                                      0          
   10    41      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.89 ms | 1396 KiB | 15 Q