3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '<a href="/football/italy/1-division-phase-a/fixtures/7-days/#" data-y="f1" data-v="this-is-variable">2 - 0</a>'; preg_match("/>([^<]+)</", $str, $matches); echo $matches[1];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GTT1J
function name:  (null)
number of ops:  9
compiled vars:  !0 = $str, !1 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3Ca+href%3D%22%2Ffootball%2Fitaly%2F1-division-phase-a%2Ffixtures%2F7-days%2F%23%22+data-y%3D%22f1%22+data-v%3D%22this-is-variable%22%3E2+-+0%3C%2Fa%3E'
    3     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F%3E%28%5B%5E%3C%5D%2B%29%3C%2F'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
    4     6        FETCH_DIM_R                                      ~4      !1, 1
          7        ECHO                                                     ~4
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.71 ms | 1009 KiB | 14 Q