3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(mb_internal_encoding(), mb_strpos('мебель', 'покупайте мебель в Перми', 0, 'UTF-8'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hWjC0
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'mb_internal_encoding'
          2        DO_ICALL                                         $0      
          3        SEND_VAR                                                 $0
          4        INIT_FCALL                                               'mb_strpos'
          5        SEND_VAL                                                 '%D0%BC%D0%B5%D0%B1%D0%B5%D0%BB%D1%8C'
          6        SEND_VAL                                                 '%D0%BF%D0%BE%D0%BA%D1%83%D0%BF%D0%B0%D0%B9%D1%82%D0%B5+%D0%BC%D0%B5%D0%B1%D0%B5%D0%BB%D1%8C+%D0%B2+%D0%9F%D0%B5%D1%80%D0%BC%D0%B8'
          7        SEND_VAL                                                 0
          8        SEND_VAL                                                 'UTF-8'
          9        DO_ICALL                                         $1      
         10        SEND_VAR                                                 $1
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.21 ms | 1394 KiB | 19 Q