3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(mb_detect_encoding("\x19", "ASCII,7bit,8bit", true)); var_dump(mb_detect_encoding("\x20", "ASCII,7bit,8bit", true)); var_dump(mb_detect_encoding("\x21", "ASCII,7bit,8bit", true)); var_dump(mb_detect_encoding("\x8F", "ASCII,7bit,8bit", true));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uLr8Q
function name:  (null)
number of ops:  33
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'mb_detect_encoding'
          2        SEND_VAL                                                 '%19'
          3        SEND_VAL                                                 'ASCII%2C7bit%2C8bit'
          4        SEND_VAL                                                 <true>
          5        DO_ICALL                                         $0      
          6        SEND_VAR                                                 $0
          7        DO_ICALL                                                 
    3     8        INIT_FCALL                                               'var_dump'
          9        INIT_FCALL                                               'mb_detect_encoding'
         10        SEND_VAL                                                 '+'
         11        SEND_VAL                                                 'ASCII%2C7bit%2C8bit'
         12        SEND_VAL                                                 <true>
         13        DO_ICALL                                         $2      
         14        SEND_VAR                                                 $2
         15        DO_ICALL                                                 
    4    16        INIT_FCALL                                               'var_dump'
         17        INIT_FCALL                                               'mb_detect_encoding'
         18        SEND_VAL                                                 '%21'
         19        SEND_VAL                                                 'ASCII%2C7bit%2C8bit'
         20        SEND_VAL                                                 <true>
         21        DO_ICALL                                         $4      
         22        SEND_VAR                                                 $4
         23        DO_ICALL                                                 
    6    24        INIT_FCALL                                               'var_dump'
         25        INIT_FCALL                                               'mb_detect_encoding'
         26        SEND_VAL                                                 '%8F'
         27        SEND_VAL                                                 'ASCII%2C7bit%2C8bit'
         28        SEND_VAL                                                 <true>
         29        DO_ICALL                                         $6      
         30        SEND_VAR                                                 $6
         31        DO_ICALL                                                 
         32      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.67 ms | 1396 KiB | 17 Q