3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pattern = "/\(.*?\)/"; $string = "(y3,x3),(r4,t4)"; preg_match_all($pattern, $string, $output); print_r($output[1]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CFhiF
function name:  (null)
number of ops:  12
compiled vars:  !0 = $pattern, !1 = $string, !2 = $output
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%2F%5C%28.%2A%3F%5C%29%2F'
    4     1        ASSIGN                                                   !1, '%28y3%2Cx3%29%2C%28r4%2Ct4%29'
    5     2        INIT_FCALL                                               'preg_match_all'
          3        SEND_VAR                                                 !0
          4        SEND_VAR                                                 !1
          5        SEND_REF                                                 !2
          6        DO_ICALL                                                 
    6     7        INIT_FCALL                                               'print_r'
          8        FETCH_DIM_R                                      ~6      !2, 1
          9        SEND_VAL                                                 ~6
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.78 ms | 1394 KiB | 17 Q