private function consumeNonePhpTokens(array &$tokens)
{
// The collected token content
$content = null;
// Fetch current token
$token = (array) current($tokens);
// Skipp all non open tags
while ($token[0] !== T_OPEN_TAG_WITH_ECHO && $token[0] !== T_OPEN_TAG && $token[0] !== false) {
$content .= isset($token[1]) ? $token[1] : $token[0];
$token = (array) next($tokens);
}
// Set internal pointer one back when there was at least one none php token
if ($token[0] !== false) {
prev($tokens);
}
return $content;
}