|To judge the functionality of a programming language, you can start with its library functions. A better programming language must have stronger library functions.
I/O functions
Flush
Function description: flush();
Description: The function Flush refreshes PHP's output cache. It tries to output the contents of the cache to the user's browser.
Return value: None
Print
Function description: print(string arg,string[arg],…);
Description: function print input all parameters.
Return value: If the output is successful, return true(1); otherwise, return false(0).
Printf
Function description: printf(string format,mixed[string]);
Description: The function printf outputs string according to the given format format. The format begins with a % and ends with a letter, which determines the output data type. PHP's type specifiers are shown in the table.
PHP type specifiers
Expand