3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match_all( '/\[(link)(.*?)!?\](.*?)\[\/\\1\]#i', '[link href="http://www.google.com" title="Google" target="_blank"]Google[/link][link href="http://www.facebook.com"]Facebook[/link] [link href=\'http://www.twitter.com\' rel="nofollow"]Twitter[/link]', $StrMatches ); /* $StrMatches[0] = Full tag string * $StrMatches[1] = Tag name * $StrMatches[2] = tag params string * $StrMatches[3] = Tag content * */ print_r($StrMatches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YVGIQ
function name:  (null)
number of ops:  9
compiled vars:  !0 = $StrMatches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'preg_match_all'
    3     1        SEND_VAL                                                 '%2F%5C%5B%28link%29%28.%2A%3F%29%21%3F%5C%5D%28.%2A%3F%29%5C%5B%5C%2F%5C1%5C%5D%23i'
    4     2        SEND_VAL                                                 '%5Blink+href%3D%22http%3A%2F%2Fwww.google.com%22+title%3D%22Google%22+target%3D%22_blank%22%5DGoogle%5B%2Flink%5D%5Blink+href%3D%22http%3A%2F%2Fwww.facebook.com%22%5DFacebook%5B%2Flink%5D%0A+++++%5Blink+href%3D%27http%3A%2F%2Fwww.twitter.com%27+rel%3D%22nofollow%22%5DTwitter%5B%2Flink%5D'
    6     3        SEND_REF                                                 !0
          4        DO_ICALL                                                 
   14     5        INIT_FCALL                                               'print_r'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.96 ms | 1385 KiB | 17 Q