3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'Проверочная строчка'; $matches = []; preg_match("#(.*?)(строчка|%&#чка)(.*)#", $string, $matches); var_dump($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Anmsh
function name:  (null)
number of ops:  11
compiled vars:  !0 = $string, !1 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%D0%9F%D1%80%D0%BE%D0%B2%D0%B5%D1%80%D0%BE%D1%87%D0%BD%D0%B0%D1%8F+%D1%81%D1%82%D1%80%D0%BE%D1%87%D0%BA%D0%B0'
    4     1        ASSIGN                                                   !1, <array>
    5     2        INIT_FCALL                                               'preg_match'
          3        SEND_VAL                                                 '%23%28.%2A%3F%29%28%D1%81%D1%82%D1%80%D0%BE%D1%87%D0%BA%D0%B0%7C%25%26%23%D1%87%D0%BA%D0%B0%29%28.%2A%29%23'
          4        SEND_VAR                                                 !0
          5        SEND_REF                                                 !1
          6        DO_ICALL                                                 
    6     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.63 ms | 1394 KiB | 17 Q