3v4l.org

run code in 500+ PHP versions simultaneously
<?php var_dump( mb_check_encoding("test:test", "UUENCODE"), mb_detect_encoding("test:test", ["UUENCODE"], false), mb_detect_encoding("test:test", ["UUENCODE"], true) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/klWd0
function name:  (null)
number of ops:  20
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'var_dump'
    4     1        INIT_FCALL                                                   'mb_check_encoding'
          2        SEND_VAL                                                     'test%3Atest'
          3        SEND_VAL                                                     'UUENCODE'
          4        DO_ICALL                                             $0      
          5        SEND_VAR                                                     $0
    5     6        INIT_FCALL                                                   'mb_detect_encoding'
          7        SEND_VAL                                                     'test%3Atest'
          8        SEND_VAL                                                     <array>
          9        SEND_VAL                                                     <false>
         10        DO_ICALL                                             $1      
         11        SEND_VAR                                                     $1
    6    12        INIT_FCALL                                                   'mb_detect_encoding'
         13        SEND_VAL                                                     'test%3Atest'
         14        SEND_VAL                                                     <array>
         15        SEND_VAL                                                     <true>
         16        DO_ICALL                                             $2      
         17        SEND_VAR                                                     $2
    3    18        DO_ICALL                                                     
    7    19      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
156.9 ms | 2010 KiB | 16 Q