3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo mb_substr('ru', -2, 2, 'UTF-8'); echo mb_strtolower('ИР');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9PbVL
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'mb_substr'
          1        SEND_VAL                                                 'ru'
          2        SEND_VAL                                                 -2
          3        SEND_VAL                                                 2
          4        SEND_VAL                                                 'UTF-8'
          5        DO_ICALL                                         $0      
          6        ECHO                                                     $0
    3     7        INIT_FCALL                                               'mb_strtolower'
          8        SEND_VAL                                                 '%D0%98%D0%A0'
          9        DO_ICALL                                         $1      
         10        ECHO                                                     $1
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.69 ms | 1394 KiB | 17 Q