3v4l.org

run code in 300+ PHP versions simultaneously
<?php $im = imagecreatetruecolor(200, 200); $text_color = imagecolorallocate ($im, 0, 0, 0); imagestring ($im, 3, 5, 15, "hello uto4ka", $text_color); header('Content-type: image/png'); imagepng($im, NULL, 0, NULL); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gn7Ad
function name:  (null)
number of ops:  30
compiled vars:  !0 = $im, !1 = $text_color
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'imagecreatetruecolor'
          1        SEND_VAL_EX                                              200
          2        SEND_VAL_EX                                              200
          3        DO_FCALL                                      0  $2      
          4        ASSIGN                                                   !0, $2
    3     5        INIT_FCALL_BY_NAME                                       'imagecolorallocate'
          6        SEND_VAR_EX                                              !0
          7        SEND_VAL_EX                                              0
          8        SEND_VAL_EX                                              0
          9        SEND_VAL_EX                                              0
         10        DO_FCALL                                      0  $4      
         11        ASSIGN                                                   !1, $4
    4    12        INIT_FCALL_BY_NAME                                       'imagestring'
         13        SEND_VAR_EX                                              !0
         14        SEND_VAL_EX                                              3
         15        SEND_VAL_EX                                              5
         16        SEND_VAL_EX                                              15
         17        SEND_VAL_EX                                              'hello+uto4ka'
         18        SEND_VAR_EX                                              !1
         19        DO_FCALL                                      0          
    6    20        INIT_FCALL                                               'header'
         21        SEND_VAL                                                 'Content-type%3A+image%2Fpng'
         22        DO_ICALL                                                 
    7    23        INIT_FCALL_BY_NAME                                       'imagepng'
         24        SEND_VAR_EX                                              !0
         25        SEND_VAL_EX                                              null
         26        SEND_VAL_EX                                              0
         27        SEND_VAL_EX                                              null
         28        DO_FCALL                                      0          
    8    29      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.81 ms | 1395 KiB | 15 Q