3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = 'TEST_A, TEST_B, TEST_C (with A, B, C), TEST_D'; var_export(preg_split('~\([^)]*\)(*SKIP)(*FAIL)|, ~', $text));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TGHbY
function name:  (null)
number of ops:  9
compiled vars:  !0 = $text
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'TEST_A%2C+TEST_B%2C+TEST_C+%28with+A%2C+B%2C+C%29%2C+TEST_D'
    4     1        INIT_FCALL                                               'var_export'
          2        INIT_FCALL                                               'preg_split'
          3        SEND_VAL                                                 '%7E%5C%28%5B%5E%29%5D%2A%5C%29%28%2ASKIP%29%28%2AFAIL%29%7C%2C+%7E'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.03 ms | 1001 KiB | 15 Q