3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'Jessie J, Ariana Grande and Nicki Minaj - Bang Bang (Audio)'; print_r( preg_split('/([\.,-_;&]|\band\b)/', $string, -1, PREG_SPLIT_NO_EMPTY));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LEqD5
function name:  (null)
number of ops:  12
compiled vars:  !0 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'Jessie+J%2C+Ariana+Grande+and+Nicki+Minaj+-+Bang+Bang+%28Audio%29'
    4     1        INIT_FCALL                                               'print_r'
    5     2        INIT_FCALL                                               'preg_split'
          3        SEND_VAL                                                 '%2F%28%5B%5C.%2C-_%3B%26%5D%7C%5Cband%5Cb%29%2F'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 -1
          6        FETCH_CONSTANT                                   ~2      '%C2%A0PREG_SPLIT_NO_EMPTY'
          7        SEND_VAL                                                 ~2
          8        DO_ICALL                                         $3      
          9        SEND_VAR                                                 $3
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.43 ms | 1394 KiB | 17 Q