- var_export: documentation ( source)
- preg_split: documentation ( source)
- preg_replace: documentation ( source)
<?php
$string = "This is my test case for an example.";
var_export(
preg_split(
"/\S+ \S+\K /",
preg_replace(
'/(?<= )(\S+ )\K/',
'$1',
$string
)
)
);