3v4l.org

run code in 300+ PHP versions simultaneously
<?php $file = fopen("http://dl2.fileswap.com/download/?id=2GODxaob1eMfta1pzHnbvp7mhcQ13bDuF%2FmPyxsN5GkWXZ%2FBNy94G0hFsPKPyxc2%2BkLV1ypIWbh6y5TOYeXmsld8i3DRzImytcA4kJqfJFshZ7zKPXYSx0LKwYMrldSf&h=7465ce61c7ed37dbd3634ceb9933447c&t=52efbf1a", "rb"); $signature = fread($this->fileHandle, 3); if ($signature[0] === chr(0x46) && $signature[1] === chr(0x4C) && $signature[2] === chr(0x56)) { var_dump("YAY, it's an FLV"); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 15, Position 2 = 18
Branch analysis from position: 15
2 jumps found. (Code = 46) Position 1 = 19, Position 2 = 22
Branch analysis from position: 19
2 jumps found. (Code = 43) Position 1 = 23, Position 2 = 26
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 26
Branch analysis from position: 22
Branch analysis from position: 18
filename:       /in/AXmvu
function name:  (null)
number of ops:  27
compiled vars:  !0 = $file, !1 = $signature
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'fopen'
          1        SEND_VAL                                                 'http%3A%2F%2Fdl2.fileswap.com%2Fdownload%2F%3Fid%3D2GODxaob1eMfta1pzHnbvp7mhcQ13bDuF%252FmPyxsN5GkWXZ%252FBNy94G0hFsPKPyxc2%252BkLV1ypIWbh6y5TOYeXmsld8i3DRzImytcA4kJqfJFshZ7zKPXYSx0LKwYMrldSf%26h%3D7465ce61c7ed37dbd3634ceb9933447c%26t%3D52efbf1a'
          2        SEND_VAL                                                 'rb'
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    5     5        INIT_FCALL                                               'fread'
          6        FETCH_THIS                                       $4      
          7        FETCH_OBJ_R                                      ~5      $4, 'fileHandle'
          8        SEND_VAL                                                 ~5
          9        SEND_VAL                                                 3
         10        DO_ICALL                                         $6      
         11        ASSIGN                                                   !1, $6
    7    12        FETCH_DIM_R                                      ~8      !1, 0
         13        IS_IDENTICAL                                     ~9      ~8, 'F'
         14      > JMPZ_EX                                          ~9      ~9, ->18
         15    >   FETCH_DIM_R                                      ~10     !1, 1
         16        IS_IDENTICAL                                     ~11     ~10, 'L'
         17        BOOL                                             ~9      ~11
         18    > > JMPZ_EX                                          ~9      ~9, ->22
         19    >   FETCH_DIM_R                                      ~12     !1, 2
         20        IS_IDENTICAL                                     ~13     ~12, 'V'
         21        BOOL                                             ~9      ~13
         22    > > JMPZ                                                     ~9, ->26
    9    23    >   INIT_FCALL                                               'var_dump'
         24        SEND_VAL                                                 'YAY%2C+it%27s+an+FLV'
         25        DO_ICALL                                                 
   12    26    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.02 ms | 1396 KiB | 19 Q