3v4l.org

run code in 300+ PHP versions simultaneously
<?php $image = new Imagick(); $image->newImage(1000,1000, new ImagickPixel('black')); $image->resize( 100, 100, Imagick::FILTER_CATROM, 1, true );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LMSNk
function name:  (null)
number of ops:  20
compiled vars:  !0 = $image
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'Imagick'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    4     3        INIT_METHOD_CALL                                         !0, 'newImage'
          4        SEND_VAL_EX                                              1000
          5        SEND_VAL_EX                                              1000
          6        NEW                                              $4      'ImagickPixel'
          7        SEND_VAL_EX                                              'black'
          8        DO_FCALL                                      0          
          9        SEND_VAR_NO_REF_EX                                       $4
         10        DO_FCALL                                      0          
    5    11        INIT_METHOD_CALL                                         !0, 'resize'
         12        SEND_VAL_EX                                              100
         13        SEND_VAL_EX                                              100
         14        FETCH_CLASS_CONSTANT                             ~7      'Imagick', 'FILTER_CATROM'
         15        SEND_VAL_EX                                              ~7
         16        SEND_VAL_EX                                              1
         17        SEND_VAL_EX                                              <true>
         18        DO_FCALL                                      0          
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.21 ms | 1006 KiB | 13 Q