3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Just a small image from http://probablyprogramming.com/2009/03/15/the-tiniest-gif-ever $blob = base64_decode('R0lGODlhAQABAIABAP///wAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=='); $finfo = new finfo(FILEINFO_MIME); echo $finfo->buffer($blob) . "\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EJ95S
function name:  (null)
number of ops:  14
compiled vars:  !0 = $blob, !1 = $finfo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'base64_decode'
          1        SEND_VAL                                                 'R0lGODlhAQABAIABAP%2F%2F%2FwAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw%3D%3D'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    6     4        NEW                                              $4      'finfo'
          5        SEND_VAL_EX                                              1040
          6        DO_FCALL                                      0          
          7        ASSIGN                                                   !1, $4
    7     8        INIT_METHOD_CALL                                         !1, 'buffer'
          9        SEND_VAR_EX                                              !0
         10        DO_FCALL                                      0  $7      
         11        CONCAT                                           ~8      $7, '%0A'
         12        ECHO                                                     ~8
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.64 ms | 1009 KiB | 14 Q