3v4l.org

run code in 300+ PHP versions simultaneously
<?php $count = 0; for ($j = 448; $j <= 959; $j++) { $filelist[$count] = "http://www.brusselsguardians.com/map/1/1968_" . $j . ".jpg"; $count++; } $all = new Imagick(); foreach($filelist as $file){ echo $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 = 18
Branch analysis from position: 15
2 jumps found. (Code = 78) Position 1 = 16, Position 2 = 18
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
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/RVElh
function name:  (null)
number of ops:  33
compiled vars:  !0 = $count, !1 = $j, !2 = $filelist, !3 = $all, !4 = $file, !5 = $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                                           ~9      'http%3A%2F%2Fwww.brusselsguardians.com%2Fmap%2F1%2F1968_', !1
          4        CONCAT                                           ~10     ~9, '.jpg'
          5        ASSIGN_DIM                                               !2, !0
          6        OP_DATA                                                  ~10
    5     7        PRE_INC                                                  !0
    3     8        PRE_INC                                                  !1
          9    >   IS_SMALLER_OR_EQUAL                                      !1, 959
         10      > JMPNZ                                                    ~13, ->3
    8    11    >   NEW                                              $14     'Imagick'
         12        DO_FCALL                                      0          
         13        ASSIGN                                                   !3, $14
   10    14      > FE_RESET_R                                       $17     !2, ->18
         15    > > FE_FETCH_R                                               $17, !4, ->18
   11    16    >   ECHO                                                     !4
   10    17      > JMP                                                      ->15
         18    >   FE_FREE                                                  $17
   16    19        INIT_METHOD_CALL                                         !3, 'resetIterator'
         20        DO_FCALL                                      0          
   17    21        INIT_METHOD_CALL                                         !3, 'appendImages'
         22        SEND_VAL_EX                                              <true>
         23        DO_FCALL                                      0  $19     
         24        ASSIGN                                                   !5, $19
   19    25        INIT_METHOD_CALL                                         !5, 'setImageFormat'
         26        SEND_VAL_EX                                              'png'
         27        DO_FCALL                                      0          
   20    28        INIT_FCALL                                               'header'
         29        SEND_VAL                                                 'Content-Type%3A+image%2Fpng'
         30        DO_ICALL                                                 
   21    31        ECHO                                                     !5
   22    32      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.4 ms | 1396 KiB | 15 Q