I'm looking for a PHP function that will take a string like this:
function func() {
$testing;
$testing;
}
And turn it into something like this:
function func() {
$testing;
$testing;
}
Does anyone have any recommendations?