3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match('#https?://(?:plus\.)?google\.com/\+?(\w+)#Ui', 'https://plus.google.com/+ForeigñNáme/', $matches); var_dump($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Y8SUB
function name:  (null)
number of ops:  9
compiled vars:  !0 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'preg_match'
          1        SEND_VAL                                                 '%23https%3F%3A%2F%2F%28%3F%3Aplus%5C.%29%3Fgoogle%5C.com%2F%5C%2B%3F%28%5Cw%2B%29%23Ui'
          2        SEND_VAL                                                 'https%3A%2F%2Fplus.google.com%2F%2BForeig%C3%B1N%C3%A1me%2F'
          3        SEND_REF                                                 !0
          4        DO_ICALL                                                 
    4     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
260.68 ms | 1394 KiB | 18 Q