suve

awful: function: write

Declaration

string :write ( mixed $ARG , $… )

Summary

:!: In CGI mode, invoking this function for the first time will trigger printing HTTP headers.

Takes any number of arguments and prints them on stdio, in a left-to-right order. Arrays and dictionaries are printed the same way as if they were converted to a string - array(size) or dict(size). Contrary to string-casting, literal NIL values will be printed as {NIL}.

Value returned is always an empty string. This can be used to chain :write calls.

Example

:write s'Hello world!

wikipage modified on 2014/0601/2317