3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'first past/ going beyond & then turn with everyone'; var_export( preg_split('~ ?([/,&]|with) ?~', $string, null, PREG_SPLIT_NO_EMPTY) );

preferences:
14.63 ms | 402 KiB | 5 Q