- var_export: documentation ( source)
- preg_split: documentation ( source)
<?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)
);