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-07-25 12:55:33
799
- 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-07-13 14:18:30
305
- PHP 5.6 / MySQL 5.7 printf phpversion
last run:
2024-07-04 10:26:57
194
- PHP 7.4 / MySQL 5.7 printf phpversion
last run:
2024-07-04 10:26:54
193
- PHP 8.1 / MySQL 5.7 printf phpversion
last run:
2024-06-28 13:50:56
190
- PHP 8.0 / MySQL 5.7 printf phpversion
last run:
2024-06-28 13:50:56
189
- PHP 8.2.13 / MySQL 5.7 printf phpversion
last run:
2024-07-04 10:26:43
171
- PHP 8.0 / MySQL 5.7 printf phpversion print_r
last run:
2024-07-24 11:30:02
115
printf - New snippets
-
PHP 8.1 / MySQL 5.7 printf phpversion
added at:
2024-07-25 13:06:51
1
-
PHP 8.2.13 / MySQL 5.7 printf
added at:
2024-07-25 12:14:14
1
-
PHP 8.2.13 / MySQL 5.7 printf
added at:
2024-07-25 12:14:03
1
-
PHP 8.2.13 / MySQL 5.7 printf
added at:
2024-07-25 12:13:04
2
-
PHP 8.2.13 / MySQL 5.7 printf
added at:
2024-07-25 12:12:55
1
-
PHP 8.2.13 / MySQL 5.7 printf
added at:
2024-07-25 12:12:43
1
-
PHP 8.2.13 / MySQL 5.7 printf
added at:
2024-07-25 12:12:24
1
-
PHP 8.2.13 / MySQL 5.7 printf
added at:
2024-07-25 12:12:02
1
-
PHP 8.2.13 / MySQL 5.7 printf phpversion
added at:
2024-07-25 12:11:21
1
-
PHP 8.2.13 / MySQL 5.7 printf
added at:
2024-07-25 12:11:12
1