User Tools

Site Tools


uphp:functions:print

This is an old revision of the document!


print

WMPRO, WMMINI FW >= 1.0 WMMEGA FW >= 2.0

Print data to the current output stream such as a web page or terminal

Description

print ( string $str )

Parameter

$str: The data to print

Return Values

None

Example

<pre><?
  print("Hello\r\n");
  print("World\r\n");
?></pre>

The above example will output:

Hello
World

Note

This function does not add new line characters (CR/LF) to the output but if that is needed you can easily append them with \r\n or \n

See Also

debug() - Print to debug output

log() - Print to the System Log (or optional file)

print_r() - Dump the contents of an array to the current output

printf() - Print a formatted string to standard output

uphp/functions/print.1495217044.txt.gz · Last modified: 2021/09/13 05:56 (external edit)