printf
printf — Output a formatted string.Description
printf( string $format,Produces output according to format.
mixed ...$values ): int
Parameters
format
The format string is composed of zero or more directives: ordinary characters (excluding %) that are copied directly to the result and conversion specifications, each of which results in fetching its own parameter.
A conversion specification follows this prototype: %[argnum$][flags][width][.precision]specifier.
Return Values
Returns the length of the outputted string.More information about printf on official PHP documentation site
printf - Popular snippets
- PHP 8.0 / MySQL 5.7 printf phpversion
last run:
2022-06-24 10:05:48
27
- PHP 8.0 / MySQL 5.7 printf phpversion print_r
last run:
2022-06-22 14:10:47
22
- PHP 8.0 / MySQL 5.7 printf
last run:
2022-02-25 21:12:14
19
- PHP 8.1 / MariaDB 10 printf phpversion printf phpversion
last run:
2022-05-16 08:02:34
18
- PHP 8.0 / MySQL 5.7 printf
last run:
2022-04-22 10:41:58
17
- PHP 8.0 / MySQL 5.7 printf phpversion print_r
last run:
2021-06-07 00:38:02
16
- PHP 7 / MySQL 5.7 printf phpversion
last run:
2022-06-24 10:05:43
15
- PHP 8.0 / MySQL 5.7 time date printf
last run:
2022-01-24 13:22:18
14
- PHP 8.0 / MySQL 5.7 str_split count printf
last run:
2022-06-29 05:55:14
13
printf - New snippets
-
PHP 8.1 / MySQL 5.7 printf phpversion printf phpversion printf phpversion printf phpversion
added at:
2022-06-30 01:09:15
1
-
PHP 8.0 / MySQL 5.7 printf phpversion print_r
added at:
2022-06-28 14:21:58
3
-
PHP 8.0 / MySQL 5.7 printf phpversion print_r
added at:
2022-06-28 14:20:46
1
-
PHP 5 / MariaDB 10 printf phpversion
added at:
2022-06-27 05:47:28
1
-
PHP 8.0 / MariaDB 10 printf phpversion
added at:
2022-06-27 05:47:22
1
-
PHP 8.1 / MySQL 5.7 printf chunk_split
added at:
2022-06-26 19:31:47
1
-
PHP 8.1 / MySQL 5.7 printf phpversion
added at:
2022-06-26 03:25:39
1