3v4l.org

run code in 500+ PHP versions simultaneously
<?php $test = base64_decode('Q0hBUlNFVD13aW5kb3dzLTEyNTI6RG/rO0pvaG4='); echo mb_detect_encoding($test, mb_list_encodings());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0enJ8
function name:  (null)
number of ops:  12
compiled vars:  !0 = $test
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'base64_decode'
          1        SEND_VAL                                                     'Q0hBUlNFVD13aW5kb3dzLTEyNTI6RG%2FrO0pvaG4%3D'
          2        DO_ICALL                                             $1      
          3        ASSIGN                                                       !0, $1
    5     4        INIT_FCALL                                                   'mb_detect_encoding'
          5        SEND_VAR                                                     !0
          6        INIT_FCALL                                                   'mb_list_encodings'
          7        DO_ICALL                                             $3      
          8        SEND_VAR                                                     $3
          9        DO_ICALL                                             $4      
         10        ECHO                                                         $4
         11      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
157.79 ms | 1990 KiB | 16 Q