3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input_line = "test test | teste test test3 | test test 4"; $result = preg_split('/(?:|\|^)([^|]{3,})(?:|$|\n)/', $input_line); print_r($result);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QdCAB
function name:  (null)
number of ops:  10
compiled vars:  !0 = $input_line, !1 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'test+test+%7C+teste+test+test3+%7C+test+test+4'
    5     1        INIT_FCALL                                               'preg_split'
          2        SEND_VAL                                                 '%2F%28%3F%3A%7C%5C%7C%5E%29%28%5B%5E%7C%5D%7B3%2C%7D%29%28%3F%3A%7C%24%7C%5Cn%29%2F'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
    7     6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
136.06 ms | 1010 KiB | 15 Q