3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match( "/^ndg\_keywords\.partial\(\'([a-zA-Z0-9\_\ ]+)\'\)/", "ndg_keywords.partial('a_Imelda Staunton ')", $matches); echo trim($matches[1]); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qWU9c
function name:  (null)
number of ops:  11
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%5C%27%28%5Ba-zA-Z0-9%5C_%5C+%5D%2B%29%5C%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        INIT_FCALL                                               'trim'
          6        FETCH_DIM_R                                      ~2      !0, 1
          7        SEND_VAL                                                 ~2
          8        DO_ICALL                                         $3      
          9        ECHO                                                     $3
    4    10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.57 ms | 1394 KiB | 17 Q