3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(mb_list_encodings()); exit(); $regexEncoding = "Windows-1251"; var_dump(mb_internal_encoding($regexEncoding)); exit(); var_dump(mb_regex_encoding($regexEncoding));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/BnYKX
function name:  (null)
number of ops:  21
compiled vars:  !0 = $regexEncoding
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'mb_list_encodings'
          2        DO_ICALL                                         $1      
          3        SEND_VAR                                                 $1
          4        DO_ICALL                                                 
          5      > EXIT                                                     
    5     6*       ASSIGN                                                   !0, 'Windows-1251'
    6     7*       INIT_FCALL                                               'var_dump'
          8*       INIT_FCALL                                               'mb_internal_encoding'
          9*       SEND_VAR                                                 !0
         10*       DO_ICALL                                         $4      
         11*       SEND_VAR                                                 $4
         12*       DO_ICALL                                                 
         13*       EXIT                                                     
    7    14*       INIT_FCALL                                               'var_dump'
         15*       INIT_FCALL                                               'mb_regex_encoding'
         16*       SEND_VAR                                                 !0
         17*       DO_ICALL                                         $6      
         18*       SEND_VAR                                                 $6
         19*       DO_ICALL                                                 
         20*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.3 ms | 1395 KiB | 21 Q