3v4l.org

run code in 500+ PHP versions simultaneously
<?php $keyword = "москва, питер, саратов"; $keyword_array = explode(',', $keyword); $text = "здравствуй, саратов!"; foreach ($keyword_array as $keys) { if (mb_stripos($text, $keys) !== false) { echo "Нашел что-то"; } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 8, Position 2 = 17
Branch analysis from position: 8
2 jumps found. (Code = 78) Position 1 = 9, Position 2 = 17
Branch analysis from position: 9
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 16
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 16
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
filename:       /in/gdR55
function name:  (null)
number of ops:  19
compiled vars:  !0 = $keyword, !1 = $keyword_array, !2 = $text, !3 = $keys
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '%D0%BC%D0%BE%D1%81%D0%BA%D0%B2%D0%B0%2C+%D0%BF%D0%B8%D1%82%D0%B5%D1%80%2C+%D1%81%D0%B0%D1%80%D0%B0%D1%82%D0%BE%D0%B2'
    4     1        INIT_FCALL                                                   'explode'
          2        SEND_VAL                                                     '%2C'
          3        SEND_VAR                                                     !0
          4        DO_ICALL                                             $5      
          5        ASSIGN                                                       !1, $5
    5     6        ASSIGN                                                       !2, '%D0%B7%D0%B4%D1%80%D0%B0%D0%B2%D1%81%D1%82%D0%B2%D1%83%D0%B9%2C+%D1%81%D0%B0%D1%80%D0%B0%D1%82%D0%BE%D0%B2%21'
    7     7      > FE_RESET_R                                           $8      !1, ->17
          8    > > FE_FETCH_R                                                   $8, !3, ->17
    9     9    >   INIT_FCALL                                                   'mb_stripos'
         10        SEND_VAR                                                     !2
         11        SEND_VAR                                                     !3
         12        DO_ICALL                                             $9      
         13        TYPE_CHECK                                      1018          $9
         14      > JMPZ                                                         ~10, ->16
   11    15    >   ECHO                                                         '%D0%9D%D0%B0%D1%88%D0%B5%D0%BB+%D1%87%D1%82%D0%BE-%D1%82%D0%BE'
    7    16    > > JMP                                                          ->8
         17    >   FE_FREE                                                      $8
   14    18      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
169.95 ms | 2023 KiB | 15 Q