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-14 20:17:08
709
- 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-14 09:08:12
109
printf - New snippets
-
PHP 8.2.13 / PostgreSQL 15 printf phpversion print_r
added at:
2024-05-14 20:28:38
1
-
PHP 8.2.13 / PostgreSQL 15 printf phpversion print_r
added at:
2024-05-14 20:28:22
1
-
PHP 8.2.13 / PostgreSQL 15 printf phpversion print_r
added at:
2024-05-14 20:27:25
1
-
PHP 8.2.13 / PostgreSQL 15 printf phpversion print_r
added at:
2024-05-14 20:23:29
1
-
PHP 8.2.13 / PostgreSQL 15 printf phpversion print_r
added at:
2024-05-14 20:23:14
1
-
PHP 8.2.13 / PostgreSQL 15 printf phpversion var_dump
added at:
2024-05-14 20:21:58
1
-
PHP 8.2.13 / PostgreSQL 15 printf phpversion var_dump
added at:
2024-05-14 20:20:41
2
-
PHP 8.2.13 / PostgreSQL 15 printf phpversion
added at:
2024-05-14 20:20:11
1
-
PHP 8.2.13 / MySQL 5.7 printf
added at:
2024-05-14 16:20:22
1
-
PHP 8.2.13 / MySQL 5.7 printf
added at:
2024-05-14 16:20:05
1