3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = '17/03/15 10:32 - Résilié - Cisse Diambissy'; $patternAdminName ="/(?<=-[\s\w]+-([\s\w]+)/"; preg_match($patternAdminName, $s, $aMatchesAdminName); var_dump($aMatchesAdminName);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PIoFL
function name:  (null)
number of ops:  11
compiled vars:  !0 = $s, !1 = $patternAdminName, !2 = $aMatchesAdminName
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '17%2F03%2F15+10%3A32+-+R%C3%A9sili%C3%A9+-+Cisse+Diambissy'
    6     1        ASSIGN                                                   !1, '%2F%28%3F%3C%3D-%5B%5Cs%5Cw%5D%2B-%28%5B%5Cs%5Cw%5D%2B%29%2F'
    8     2        INIT_FCALL                                               'preg_match'
          3        SEND_VAR                                                 !1
          4        SEND_VAR                                                 !0
          5        SEND_REF                                                 !2
          6        DO_ICALL                                                 
   10     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:
178.92 ms | 1394 KiB | 17 Q