3v4l.org

run code in 300+ PHP versions simultaneously
<?php $image = imagecreatetruecolor(225,225); imagestring($image, 10, 20, 16, 'Roseindia', 0x00ff00); $gaussian = array(array(1.0, 2.0, 1.0), array(2.0, 4.0, 2.0), array(1.0, 2.0, 1.0)); imageconvolution($image, $gaussian, 16, 0); imagestring($image, 10, 20, 36, 'Roseindia', 0x00ff00); header('Content-Type: image/png'); imagepng($image, null, 9); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qnt1E
function name:  (null)
number of ops:  37
compiled vars:  !0 = $image, !1 = $gaussian
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL_BY_NAME                                       'imagecreatetruecolor'
          1        SEND_VAL_EX                                              225
          2        SEND_VAL_EX                                              225
          3        DO_FCALL                                      0  $2      
          4        ASSIGN                                                   !0, $2
    5     5        INIT_FCALL_BY_NAME                                       'imagestring'
          6        SEND_VAR_EX                                              !0
          7        SEND_VAL_EX                                              10
          8        SEND_VAL_EX                                              20
          9        SEND_VAL_EX                                              16
         10        SEND_VAL_EX                                              'Roseindia'
         11        SEND_VAL_EX                                              65280
         12        DO_FCALL                                      0          
    7    13        ASSIGN                                                   !1, <array>
    9    14        INIT_FCALL_BY_NAME                                       'imageconvolution'
         15        SEND_VAR_EX                                              !0
         16        SEND_VAR_EX                                              !1
         17        SEND_VAL_EX                                              16
         18        SEND_VAL_EX                                              0
         19        DO_FCALL                                      0          
   11    20        INIT_FCALL_BY_NAME                                       'imagestring'
         21        SEND_VAR_EX                                              !0
         22        SEND_VAL_EX                                              10
         23        SEND_VAL_EX                                              20
         24        SEND_VAL_EX                                              36
         25        SEND_VAL_EX                                              'Roseindia'
         26        SEND_VAL_EX                                              65280
         27        DO_FCALL                                      0          
   13    28        INIT_FCALL                                               'header'
         29        SEND_VAL                                                 'Content-Type%3A+image%2Fpng'
         30        DO_ICALL                                                 
   15    31        INIT_FCALL_BY_NAME                                       'imagepng'
         32        SEND_VAR_EX                                              !0
         33        SEND_VAL_EX                                              null
         34        SEND_VAL_EX                                              9
         35        DO_FCALL                                      0          
   16    36      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.3 ms | 1396 KiB | 15 Q