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, 0, PREG_SPLIT_NO_EMPTY) );

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
156.52 ms | 2020 KiB | 12 Q