implemented shift more on PHP variables: shifts until first variable with a different first letter