3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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
Jump found. Position 1 = -2
filename:       /in/mHLqt
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_%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
         7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0