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 = 17, Position 2 = 19
Branch analysis from position: 17
2 jumps found. (Code = 46) Position 1 = 20, Position 2 = 22
Branch analysis from position: 20
2 jumps found. (Code = 43) Position 1 = 23, Position 2 = 24
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 24
Branch analysis from position: 22
Branch analysis from position: 19
filename:       /in/rSLZs
function name:  (null)
number of ops:  25
compiled vars:  !0 = $width, !1 = $height, !2 = $type
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   BEGIN_SILENCE                                    ~3      
          1        INIT_FCALL                                               'getimagesize'
          2        FETCH_R                      global              ~4      '_FILES'
          3        FETCH_DIM_R                                      ~5      ~4, 'picture'
          4        FETCH_DIM_R                                      ~6      ~5, 'tmp_name'
          5        SEND_VAL                                                 ~6
          6        DO_ICALL                                         $7      
          7        END_SILENCE                                              ~3
          8        FETCH_LIST_R                                     $8      $7, 0
          9        ASSIGN                                                   !0, $8
         10        FETCH_LIST_R                                     $10     $7, 1
         11        ASSIGN                                                   !1, $10
         12        FETCH_LIST_R                                     $12     $7, 2
         13        ASSIGN                                                   !2, $12
         14        FREE                                                     $7
    3    15        ISSET_ISEMPTY_CV                                 ~14     !0
         16      > JMPZ_EX                                          ~14     ~14, ->19
         17    >   ISSET_ISEMPTY_CV                                 ~15     !1
         18        BOOL                                             ~14     ~15
         19    > > JMPZ_EX                                          ~14     ~14, ->22
         20    >   ISSET_ISEMPTY_CV                                 ~16     !2
         21        BOOL                                             ~14     ~16
         22    > > JMPZ                                                     ~14, ->24
         23    >   ECHO                                                     1
         24    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.46 ms | 1395 KiB | 15 Q