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-10-28 12:16:16
905
- 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-10-25 08:56:25
312
- PHP 5.6 / MySQL 5.7 printf phpversion
last run:
2024-09-03 16:55:12
198
- PHP 7.4 / MySQL 5.7 printf phpversion
last run:
2024-09-03 16:55:12
197
- PHP 8.1 / MySQL 5.7 printf phpversion
last run:
2024-09-03 16:55:13
194
- PHP 8.0 / MySQL 5.7 printf phpversion
last run:
2024-09-03 16:55:13
193
- PHP 8.2.13 / MySQL 5.7 printf phpversion
last run:
2024-09-03 16:55:13
175
- PHP 8.0 / MySQL 5.7 printf phpversion print_r
last run:
2024-09-26 11:31:52
119
printf - New snippets
-
PHP 8.1 / MySQL 8.0 printf
added at:
2024-10-28 19:01:26
1
-
PHP 8.1 / MySQL 8.0 printf
added at:
2024-10-28 19:00:33
1
-
PHP 8.1 / MySQL 8.0 printf
added at:
2024-10-28 19:00:13
1
-
PHP 8.1 / MySQL 8.0 printf
added at:
2024-10-28 18:57:22
1
-
PHP 8.1 / MySQL 8.0 printf
added at:
2024-10-28 18:56:25
1
-
PHP 8.1 / MySQL 8.0 printf
added at:
2024-10-28 18:55:48
1
-
PHP 8.1 / MySQL 8.0 printf
added at:
2024-10-28 18:55:11
1
-
PHP 8.1 / MySQL 8.0 printf
added at:
2024-10-28 18:53:50
1
-
PHP 8.1 / MySQL 8.0 printf
added at:
2024-10-28 18:52:42
1
-
PHP 8.1 / MySQL 8.0 printf
added at:
2024-10-28 18:51:31
1