3v4l.org

run code in 300+ PHP versions simultaneously
<?php $indexPattern = '/ ss:Index="(\d+)" /'; preg_match(indexPattern, '<Cell ss:Index="12" >', $matches); var_dump($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SmcK5
function name:  (null)
number of ops:  11
compiled vars:  !0 = $indexPattern, !1 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%2F+ss%3AIndex%3D%22%28%5Cd%2B%29%22+%2F'
    4     1        INIT_FCALL                                               'preg_match'
          2        FETCH_CONSTANT                                   ~3      'indexPattern'
          3        SEND_VAL                                                 ~3
          4        SEND_VAL                                                 '%3CCell+ss%3AIndex%3D%2212%22+%3E'
          5        SEND_REF                                                 !1
          6        DO_ICALL                                                 
    5     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:
177.27 ms | 1394 KiB | 17 Q