printf

void printf(string format, [mixed...]) 

Returns:

NULL; FALSE on error

Description:

printf() operates like sprintf() except that it sends the generated string to standard output instead of returning it as a variable.

Version:

PHP 3+, PHP 4+

Get PHP Functions Essential Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.