3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(preg_match('#https?://(?:plus\.)?google\.com/\+?(\w+)#i', 'https://plus.google.com/+ForeigñNáme/', $matches));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rCvkW
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                                               'var_dump'
          1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%23https%3F%3A%2F%2F%28%3F%3Aplus%5C.%29%3Fgoogle%5C.com%2F%5C%2B%3F%28%5Cw%2B%29%23i'
          3        SEND_VAL                                                 'https%3A%2F%2Fplus.google.com%2F%2BForeig%C3%B1N%C3%A1me%2F'
          4        SEND_REF                                                 !0
          5        DO_ICALL                                         $1      
          6        SEND_VAR                                                 $1
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.82 ms | 1394 KiB | 17 Q