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-05-13 08:07:36
708
- 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-05-13 10:32:05
295
- PHP 5.6 / MySQL 5.7 printf phpversion
last run:
2024-05-08 17:25:10
184
- PHP 7.4 / MySQL 5.7 printf phpversion
last run:
2024-05-08 17:25:10
183
- PHP 8.1 / MySQL 5.7 printf phpversion
last run:
2024-05-08 17:25:10
182
- PHP 8.0 / MySQL 5.7 printf phpversion
last run:
2024-05-08 17:25:10
181
- PHP 8.2.13 / MySQL 5.7 printf phpversion
last run:
2024-05-08 17:25:11
162
- PHP 8.0 / MySQL 5.7 printf phpversion print_r
last run:
2024-05-12 11:24:08
108
printf - New snippets
-
PHP 8.1 / MySQL 5.7 printf phpversion printf phpversion
added at:
2024-05-13 08:25:19
1
-
PHP 8.2.13 / MySQL 8.0 printf print_r
added at:
2024-05-07 12:12:34
1
-
PHP 8.0 / MySQL 5.7 printf phpversion print_r
added at:
2024-05-04 13:32:25
1
-
PHP 8.2.13 / MySQL 5.7 printf print_r
added at:
2024-05-04 08:11:10
1
-
PHP 8.2.13 / MySQL 5.7 printf print_r
added at:
2024-05-04 08:10:58
2
-
PHP 8.2.13 / MySQL 5.7 printf print_r
added at:
2024-05-04 08:10:48
1
-
PHP 8.2.13 / MySQL 5.7 printf print_r
added at:
2024-05-04 08:10:44
1
-
PHP 8.2.13 / MySQL 5.7 printf print_r
added at:
2024-05-04 08:10:32
1
-
PHP 8.2.13 / MySQL 5.7 printf print_r
added at:
2024-05-04 08:09:33
1