3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match( '/<img.+src=[\'"](?P<src>.+)[\'"].*>/i', '<img src="/wordpress/wp-content/uploads/2012/11/reading-240x240.jpg" alt="" width="170" height="200" /> </em><em>Econintersect</em>: Every day our editors collect the most interesting things they find from around the internet and present a summary "reading list" which will include very brief summaries of why each item has gotten our attention. Suggestions from readers for "reading list"', $matches); echo $matches[1]; // 1234
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ih2ae
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%3Cimg.%2Bsrc%3D%5B%27%22%5D%28%3FP%3Csrc%3E.%2B%29%5B%27%22%5D.%2A%3E%2Fi'
          2        SEND_VAL                                                 '%3Cimg+src%3D%22%2Fwordpress%2Fwp-content%2Fuploads%2F2012%2F11%2Freading-240x240.jpg%22+alt%3D%22%22+width%3D%22170%22+height%3D%22200%22+%2F%3E+%3C%2Fem%3E%3Cem%3EEconintersect%3C%2Fem%3E%3A+Every+day+our+editors+collect+the+most+interesting+things+they+find+from+around+the+internet+and+present+a+summary+%22reading+list%22+which+will+include+very+brief+summaries+of+why+each+item+has+gotten+our+attention.+Suggestions+from+readers+for+%22reading+list%22'
          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 8.0.0


preferences:
161.88 ms | 1394 KiB | 15 Q