3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "lorem ispmes dolter yexy tesy 201812321910AT l tesyui lorem ispmes dolter gjexy tesy 201812321810AT hekfl lorem tesxts 201812321910AT-001 lot kyesu oerd 201812321910AT-001 lfs tes ol sghn"; preg_match_all("/(\d{12}AT.*?)\s/", $str, $matches); var_dump($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/S4CSr
function name:  (null)
number of ops:  10
compiled vars:  !0 = $str, !1 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'lorem+ispmes+dolter+yexy+tesy+201812321910AT+l+tesyui+lorem+ispmes+%0Adolter+gjexy+tesy++++201812321810AT+hekfl+lorem+tesxts%0A+201812321910AT-001+lot+kyesu+oerd+201812321910AT-001+lfs+tes+ol+sghn'
    7     1        INIT_FCALL                                               'preg_match_all'
          2        SEND_VAL                                                 '%2F%28%5Cd%7B12%7DAT.%2A%3F%29%5Cs%2F'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
    8     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.14 ms | 1004 KiB | 15 Q