3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.07 ms | 1385 KiB | 17 Q