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.1 / MySQL 5.7 printf phpversion
last run:
2024-04-19 15:10:51
686
- PHP 8.1 / MySQL 5.7 printf phpversion printf phpversion
last run:
2023-07-10 13:49:23
661
- PHP 8.2.13 / MySQL 5.7 printf
last run:
2024-04-17 15:54:42
290
- PHP 5.6 / MySQL 5.7 printf phpversion
last run:
2024-03-06 22:25:16
176
- PHP 7.4 / MySQL 5.7 printf phpversion
last run:
2024-03-06 22:25:16
175
- PHP 8.1 / MySQL 5.7 printf phpversion
last run:
2024-03-06 22:25:16
174
- PHP 8.0 / MySQL 5.7 printf phpversion
last run:
2024-03-06 22:25:16
173
- PHP 8.2.13 / MySQL 5.7 printf phpversion
last run:
2024-03-06 22:25:17
154
- PHP 8.0 / MySQL 5.7 printf phpversion print_r
last run:
2024-03-20 05:50:13
104
printf - New snippets
-
PHP 8.1 / MySQL 5.7 printf phpversion printf phpversion printf phpversion
added at:
2024-04-19 11:12:45
1
-
PHP 8.1 / MySQL 5.7 printf
added at:
2024-04-15 14:47:53
2
-
PHP 8.1 / MySQL 5.7 printf
added at:
2024-04-15 14:47:15
1
-
PHP 8.1 / MySQL 5.7 printf
added at:
2024-04-15 14:47:02
1
-
PHP 8.1 / MySQL 5.7 printf
added at:
2024-04-15 14:46:17
1
-
PHP 8.1 / MySQL 5.7 printf
added at:
2024-04-15 14:45:30
1
-
PHP 8.1 / MySQL 5.7 printf
added at:
2024-04-15 14:45:21
1
-
PHP 8.1 / MySQL 5.7 printf
added at:
2024-04-15 14:45:13
1