3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pattern = <<<REGEXP /(?(R) # in case of recursion match parentheses \(((?>[^\s()]+)|(?R))*\) | # else match a link with title ^\((((?>[^\s()]+)|(?R))*)(\s+"(.*?)")?\) )/x REGEXP; print $pattern;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sOBH2
function name:  (null)
number of ops:  3
compiled vars:  !0 = $pattern
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, '%09%09%09%09%2F%28%3F%28R%29+%23+in+case+of+recursion+match+parentheses%0A%09%09%09%09%09+%5C%28%28%28%3F%3E%5B%5E%5Cs%28%29%5D%2B%29%7C%28%3FR%29%29%2A%5C%29%0A%09%09%09%09%7C++++++%23+else+match+a+link+with+title%0A%09%09%09%09%09%5E%5C%28%28%28%28%3F%3E%5B%5E%5Cs%28%29%5D%2B%29%7C%28%3FR%29%29%2A%29%28%5Cs%2B%22%28.%2A%3F%29%22%29%3F%5C%29%0A%09%09%09%09%29%2Fx'
   13     1        ECHO                                                     !0
          2      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.18 ms | 1392 KiB | 13 Q