3v4l.org

run code in 300+ PHP versions simultaneously
<?php list($width, $height, $type) = getimagesize($_FILES["picture"]['tmp_name']); if(isset($width, $height, $type)) echo 1;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 15, Position 2 = 17
Branch analysis from position: 15
2 jumps found. (Code = 46) Position 1 = 18, Position 2 = 20
Branch analysis from position: 18
2 jumps found. (Code = 43) Position 1 = 21, Position 2 = 22
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
Branch analysis from position: 20
Branch analysis from position: 17
filename:       /in/RFhKN
function name:  (null)
number of ops:  23
compiled vars:  !0 = $width, !1 = $height, !2 = $type
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'getimagesize'
          1        FETCH_R                      global              ~3      '_FILES'
          2        FETCH_DIM_R                                      ~4      ~3, 'picture'
          3        FETCH_DIM_R                                      ~5      ~4, 'tmp_name'
          4        SEND_VAL                                                 ~5
          5        DO_ICALL                                         $6      
          6        FETCH_LIST_R                                     $7      $6, 0
          7        ASSIGN                                                   !0, $7
          8        FETCH_LIST_R                                     $9      $6, 1
          9        ASSIGN                                                   !1, $9
         10        FETCH_LIST_R                                     $11     $6, 2
         11        ASSIGN                                                   !2, $11
         12        FREE                                                     $6
    3    13        ISSET_ISEMPTY_CV                                 ~13     !0
         14      > JMPZ_EX                                          ~13     ~13, ->17
         15    >   ISSET_ISEMPTY_CV                                 ~14     !1
         16        BOOL                                             ~13     ~14
         17    > > JMPZ_EX                                          ~13     ~13, ->20
         18    >   ISSET_ISEMPTY_CV                                 ~15     !2
         19        BOOL                                             ~13     ~15
         20    > > JMPZ                                                     ~13, ->22
         21    >   ECHO                                                     1
         22    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.47 ms | 1395 KiB | 15 Q