3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '0и'; echo mb_strstr($str, 'и', true) ?: $str;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AQXhc
function name:  (null)
number of ops:  10
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '0%D0%B8'
    4     1        INIT_FCALL                                               'mb_strstr'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 '%D0%B8'
          4        SEND_VAL                                                 <true>
          5        DO_ICALL                                         $2      
          6        JMP_SET                                          ~3      $2, ->8
          7        QM_ASSIGN                                        ~3      !0
          8        ECHO                                                     ~3
    5     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.1 ms | 1008 KiB | 14 Q