3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach ($files as $file) { $fileParts = pathinfo($file); if('application/zip' == mime_content_type($file)) $this->medias->unzipAndFilterImage($username, $file); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 1, Position 2 = 18
Branch analysis from position: 1
2 jumps found. (Code = 78) Position 1 = 2, Position 2 = 18
Branch analysis from position: 2
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 17
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 1
Branch analysis from position: 1
Branch analysis from position: 17
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
filename:       /in/hlvCL
function name:  (null)
number of ops:  20
compiled vars:  !0 = $files, !1 = $file, !2 = $fileParts, !3 = $username
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > FE_RESET_R                                       $4      !0, ->18
          1    > > FE_FETCH_R                                               $4, !1, ->18
    4     2    >   INIT_FCALL                                               'pathinfo'
          3        SEND_VAR                                                 !1
          4        DO_ICALL                                         $5      
          5        ASSIGN                                                   !2, $5
    5     6        INIT_FCALL                                               'mime_content_type'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                         $7      
          9        IS_EQUAL                                                 $7, 'application%2Fzip'
         10      > JMPZ                                                     ~8, ->17
    6    11    >   FETCH_THIS                                       $9      
         12        FETCH_OBJ_R                                      ~10     $9, 'medias'
         13        INIT_METHOD_CALL                                         ~10, 'unzipAndFilterImage'
         14        SEND_VAR_EX                                              !3
         15        SEND_VAR_EX                                              !1
         16        DO_FCALL                                      0          
    3    17    > > JMP                                                      ->1
         18    >   FE_FREE                                                  $4
    7    19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.27 ms | 1395 KiB | 17 Q