3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "23 asdasdasdasd.sma(33) asda sdas asd 23 2 3 54232 23d asd"; $reg = '/\(\K\d+(?=\))/'; preg_match($reg, $string, $matches); var_dump($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/upSWS
function name:  (null)
number of ops:  11
compiled vars:  !0 = $string, !1 = $reg, !2 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '23+asdasdasdasd.sma%2833%29+asda+sdas+asd+23+2+3+54232+23d+asd'
    4     1        ASSIGN                                                   !1, '%2F%5C%28%5CK%5Cd%2B%28%3F%3D%5C%29%29%2F'
    5     2        INIT_FCALL                                               'preg_match'
          3        SEND_VAR                                                 !1
          4        SEND_VAR                                                 !0
          5        SEND_REF                                                 !2
          6        DO_ICALL                                                 
    6     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !2
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.69 ms | 997 KiB | 15 Q