3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo preg_replace('`(?<=\()([^()]*|(R))+(?=\))`', '<$0>', 'test {22413}(ghfhgfhg(())sddsf) sdfdsf {5}(45d4fsdf4)');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rFSAa
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'preg_replace'
          1        SEND_VAL                                                 '%60%28%3F%3C%3D%5C%28%29%28%5B%5E%28%29%5D%2A%7C%28R%29%29%2B%28%3F%3D%5C%29%29%60'
          2        SEND_VAL                                                 '%3C%240%3E'
          3        SEND_VAL                                                 'test+%7B22413%7D%28ghfhgfhg%28%28%29%29sddsf%29+sdfdsf+%7B5%7D%2845d4fsdf4%29'
          4        DO_ICALL                                         $0      
          5        ECHO                                                     $0
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.39 ms | 1393 KiB | 15 Q