3v4l.org

run code in 300+ PHP versions simultaneously
<?php $count = 0; for ($j = 448; $j <= 959; $j++) { $filelist[$count] = "map/1/1968_" . $j . ".jpg"; $count++; } $all = new Imagick(); foreach($filelist as $file){ $im = new Imagick($file); $all->addImage($im); } $all->resetIterator(); $combined = $all->appendImages(true); $combined->setImageFormat("png"); header("Content-Type: image/png"); echo $combined; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 3
Branch analysis from position: 11
2 jumps found. (Code = 77) Position 1 = 15, Position 2 = 24
Branch analysis from position: 15
2 jumps found. (Code = 78) Position 1 = 16, Position 2 = 24
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 24
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 3
Branch analysis from position: 11
Branch analysis from position: 3
filename:       /in/gtAkE
function name:  (null)
number of ops:  39
compiled vars:  !0 = $count, !1 = $j, !2 = $filelist, !3 = $all, !4 = $file, !5 = $im, !6 = $combined
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 0
    3     1        ASSIGN                                                   !1, 448
          2      > JMP                                                      ->9
    4     3    >   CONCAT                                           ~10     'map%2F1%2F1968_', !1
          4        CONCAT                                           ~11     ~10, '.jpg'
          5        ASSIGN_DIM                                               !2, !0
          6        OP_DATA                                                  ~11
    5     7        PRE_INC                                                  !0
    3     8        PRE_INC                                                  !1
          9    >   IS_SMALLER_OR_EQUAL                                      !1, 959
         10      > JMPNZ                                                    ~14, ->3
    8    11    >   NEW                                              $15     'Imagick'
         12        DO_FCALL                                      0          
         13        ASSIGN                                                   !3, $15
   10    14      > FE_RESET_R                                       $18     !2, ->24
         15    > > FE_FETCH_R                                               $18, !4, ->24
   11    16    >   NEW                                              $19     'Imagick'
         17        SEND_VAR_EX                                              !4
         18        DO_FCALL                                      0          
         19        ASSIGN                                                   !5, $19
   12    20        INIT_METHOD_CALL                                         !3, 'addImage'
         21        SEND_VAR_EX                                              !5
         22        DO_FCALL                                      0          
   10    23      > JMP                                                      ->15
         24    >   FE_FREE                                                  $18
   15    25        INIT_METHOD_CALL                                         !3, 'resetIterator'
         26        DO_FCALL                                      0          
   16    27        INIT_METHOD_CALL                                         !3, 'appendImages'
         28        SEND_VAL_EX                                              <true>
         29        DO_FCALL                                      0  $24     
         30        ASSIGN                                                   !6, $24
   18    31        INIT_METHOD_CALL                                         !6, 'setImageFormat'
         32        SEND_VAL_EX                                              'png'
         33        DO_FCALL                                      0          
   19    34        INIT_FCALL                                               'header'
         35        SEND_VAL                                                 'Content-Type%3A+image%2Fpng'
         36        DO_ICALL                                                 
   20    37        ECHO                                                     !6
   21    38      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.07 ms | 1400 KiB | 15 Q