Method Parser.C.simple_reconstitute()
- Method
simple_reconstitute
stringsimple_reconstitute(array(string|Token|array)tokens,bool|voidinhibit_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 1indicates that hidden whitespaces in the last token oftokensshould not be output (only applies to Token objects).