3v4l.org

run code in 300+ PHP versions simultaneously
<?php mb_internal_encoding("UTF-8"); var_dump(levenshtein('прив', 'приве'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DrJcQ
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'mb_internal_encoding'
          1        SEND_VAL                                                 'UTF-8'
          2        DO_ICALL                                                 
    4     3        INIT_FCALL                                               'var_dump'
          4        INIT_FCALL                                               'levenshtein'
          5        SEND_VAL                                                 '%D0%BF%D1%80%D0%B8%D0%B2'
          6        SEND_VAL                                                 '%D0%BF%D1%80%D0%B8%D0%B2%D0%B5'
          7        DO_ICALL                                         $1      
          8        SEND_VAR                                                 $1
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.86 ms | 1394 KiB | 19 Q