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)[^\s]+/', $string));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YfBYV
function name:  (null)
number of ops:  9
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.%5C%2C%5C-%5C_%5C%3B%5C%26%5C%28%5C%29%5C%5B%5C%5D%5C%7B%5C%7D%5D%7C%5Cband%5Cb%29%5B%5E%5Cs%5D%2B%2F'
          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:
170.16 ms | 1394 KiB | 17 Q