3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match( "/^ndg\_keywords\.partial\('[a-zA-Z_\ ]+'\)/", "ndg_keywords.partial('a_Imelda Staunton ')", $matches); echo $matches[1]; // 1234 ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tb08L
function name:  (null)
number of ops:  8
compiled vars:  !0 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'preg_match'
          1        SEND_VAL                                                 '%2F%5Endg%5C_keywords%5C.partial%5C%28%27%5Ba-zA-Z_%5C+%5D%2B%27%5C%29%2F'
          2        SEND_VAL                                                 'ndg_keywords.partial%28%27a_Imelda+Staunton+++++++++++++++%27%29'
          3        SEND_REF                                                 !0
          4        DO_ICALL                                                 
    3     5        FETCH_DIM_R                                      ~2      !0, 1
          6        ECHO                                                     ~2
    4     7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.64 ms | 1385 KiB | 15 Q