Method Parser.C.simple_reconstitute()


Method simple_reconstitute

string simple_reconstitute(array(string|Token|array) tokens, bool|void inhibit_trailing_ws)

Description

Reconstitutes the token array into a plain string again; essentially reversing split() and whichever of the tokenize, group and hide_whitespaces methods may have been invoked.

Parameter inhibit_trailing_ws

1 indicates that hidden whitespaces in the last token of tokens should not be output (only applies to Token objects).