3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'Heading: This is a string. Very exciting! What do you think? ...one more thing, this is cool.'; var_export( preg_split('~[.?!:]+\K\s+~', $str, 0, PREG_SPLIT_NO_EMPTY) );

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
296.41 ms | 1889 KiB | 13 Q