3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url="http://74.125.143.94/images/srpr/logo3w.png"; $finfo=new finfo(FILEINFO_MIME); $str_mime = $finfo->file($url);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sNJBj
function name:  (null)
number of ops:  10
compiled vars:  !0 = $url, !1 = $finfo, !2 = $str_mime
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2F74.125.143.94%2Fimages%2Fsrpr%2Flogo3w.png'
    3     1        NEW                                              $4      'finfo'
          2        SEND_VAL_EX                                              1040
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !1, $4
    4     5        INIT_METHOD_CALL                                         !1, 'file'
          6        SEND_VAR_EX                                              !0
          7        DO_FCALL                                      0  $7      
          8        ASSIGN                                                   !2, $7
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.58 ms | 1393 KiB | 13 Q