src/Utility/Tokenizer.php
public static function reconstructFromTokens(array &$tokens)
    {
        $str = '';
        foreach ($tokens as $token) {
            if (is_string($token)) {
                $str .= $token;
            } else {
                $str .= $token[1];
            }
        }
        return $str;
    }
public static function reconstructFromTokens(array &$tokens)
    {
        $str = '';
        foreach ($tokens as $token) {
            if (is_string($token)) {
                $str .= $token;
            } else {
                $str .= $token[1];
            }
        }
        return $str;
    }
Reconstruct a string of source code from its constituent tokens

@param array $tokens
@return string