3v4l.org

run code in 300+ PHP versions simultaneously
<?php print_r(preg_split('/".*?"(*SKIP)(*FAIL)|(\(|\))| /', '+test +word any -sampe (+toto +titi "generic test") -column:"test this" (+data id:1234)',-1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QnpB9
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'print_r'
          1        INIT_FCALL                                               'preg_split'
          2        SEND_VAL                                                 '%2F%22.%2A%3F%22%28%2ASKIP%29%28%2AFAIL%29%7C%28%5C%28%7C%5C%29%29%7C+%2F'
          3        SEND_VAL                                                 '%2Btest+%2Bword+any+-sampe+%28%2Btoto+%2Btiti+%22generic+test%22%29+-column%3A%22test+this%22+%28%2Bdata+id%3A1234%29'
          4        SEND_VAL                                                 -1
          5        SEND_VAL                                                 3
          6        DO_ICALL                                         $0      
          7        SEND_VAR                                                 $0
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.25 ms | 1394 KiB | 17 Q