3v4l.org

run code in 500+ PHP versions simultaneously
<?php $test = array ( 0 => array ( ) ); mb_convert_variables('utf-8', 'cp1251', $test); var_dump($test); mb_convert_variables('utf-8', 'utf-8', $test); var_dump($test);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LK5DY
function name:  (null)
number of ops:  18
compiled vars:  !0 = $test
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
    8     1        INIT_FCALL                                                   'mb_convert_variables'
          2        SEND_VAL                                                     'utf-8'
          3        SEND_VAL                                                     'cp1251'
          4        SEND_REF                                                     !0
          5        DO_ICALL                                                     
   10     6        INIT_FCALL                                                   'var_dump'
          7        SEND_VAR                                                     !0
          8        DO_ICALL                                                     
   12     9        INIT_FCALL                                                   'mb_convert_variables'
         10        SEND_VAL                                                     'utf-8'
         11        SEND_VAL                                                     'utf-8'
         12        SEND_REF                                                     !0
         13        DO_ICALL                                                     
   14    14        INIT_FCALL                                                   'var_dump'
         15        SEND_VAR                                                     !0
         16        DO_ICALL                                                     
         17      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
222 ms | 3118 KiB | 15 Q