3v4l.org

run code in 300+ PHP versions simultaneously
<?php $file_path = "https://s3-ap-southeast-1.amazonaws.com/bucket-input-video/videos/3578b7a325e26b1b074f48c80b7e9641.mpeg"; list($width, $height, $type, $attr) = getimagesize($file_path); print_r("Image width " . $width . "<br>" . "Image height " . $height . "<br>" . "Image type " . $type . "<br>" . "Attribute " . $attr . "<br>"); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/adZdB
function name:  (null)
number of ops:  28
compiled vars:  !0 = $file_path, !1 = $width, !2 = $height, !3 = $type, !4 = $attr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'https%3A%2F%2Fs3-ap-southeast-1.amazonaws.com%2Fbucket-input-video%2Fvideos%2F3578b7a325e26b1b074f48c80b7e9641.mpeg'
    4     1        INIT_FCALL                                               'getimagesize'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $6      
          4        FETCH_LIST_R                                     $7      $6, 0
          5        ASSIGN                                                   !1, $7
          6        FETCH_LIST_R                                     $9      $6, 1
          7        ASSIGN                                                   !2, $9
          8        FETCH_LIST_R                                     $11     $6, 2
          9        ASSIGN                                                   !3, $11
         10        FETCH_LIST_R                                     $13     $6, 3
         11        ASSIGN                                                   !4, $13
         12        FREE                                                     $6
    5    13        INIT_FCALL                                               'print_r'
         14        CONCAT                                           ~15     'Image+width+', !1
         15        CONCAT                                           ~16     ~15, '%3Cbr%3E'
         16        CONCAT                                           ~17     ~16, 'Image+height+'
         17        CONCAT                                           ~18     ~17, !2
         18        CONCAT                                           ~19     ~18, '%3Cbr%3E'
         19        CONCAT                                           ~20     ~19, 'Image+type+'
         20        CONCAT                                           ~21     ~20, !3
         21        CONCAT                                           ~22     ~21, '%3Cbr%3E'
         22        CONCAT                                           ~23     ~22, 'Attribute+'
         23        CONCAT                                           ~24     ~23, !4
         24        CONCAT                                           ~25     ~24, '%3Cbr%3E'
         25        SEND_VAL                                                 ~25
         26        DO_ICALL                                                 
    6    27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.13 ms | 1395 KiB | 17 Q