sprintf
sprintf — Return a formatted string.Description
sprintf( string $format,Returns a string produced according to the formatting string format.
mixed ...$values ): string
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.
Return Values
Returns a string produced according to the formatting string format.More information about sprintf on official PHP documentation site
sprintf - Popular snippets
- PHP 8.0 / MySQL 8.0 exec sprintf var_dump exec sprintf var_dump
last run:
2023-04-10 13:11:34
35
- PHP 8.2 / MySQL 8.0 Sakila (ReadOnly) array_map sprintf key var_export
last run:
2024-01-08 10:08:23
6
- PHP 8.1 / MySQL 8.0 array_push sprintf implode var_export
last run:
2023-06-21 18:05:12
6
- PHP 8.0 / MySQL 8.0 sprintf printf
last run:
2024-04-15 09:37:51
4
- PHP 8.0 / MySQL 8.0 sprintf implode array_fill count array_merge var_export
last run:
2025-02-27 07:20:38
3
- PHP 8.0 / MySQL 8.0 sprintf
last run:
2024-04-15 09:39:22
3
- PHP 8.0 / MySQL 8.0 sprintf printf
last run:
2024-04-15 09:38:30
3
- PHP 8.0 / MySQL 8.0 sprintf printf
last run:
2024-04-15 09:20:46
3
- PHP 8.1 / MySQL 8.0 sprintf implode printf json_encode
last run:
2023-03-21 02:50:30
3
sprintf - New snippets
-
PHP 8.4 / MySQL 8.0 http_build_query sprintf
added at:
2025-05-20 03:19:37
2
-
PHP 8.4 / MySQL 8.0 http_build_query sprintf
added at:
2025-05-19 08:25:37
1
-
PHP 8.3 / MySQL 8.0 sprintf
added at:
2025-05-19 05:01:10
1
-
PHP 8.3 / MySQL 8.0 sprintf
added at:
2025-05-19 05:00:49
1
-
PHP 8.3 / MySQL 8.0 sprintf
added at:
2025-05-19 05:00:12
1
-
PHP 8.3 / MySQL 8.0 sprintf
added at:
2025-05-19 04:59:56
1
-
PHP 8.4 / MySQL 8.0 count print_r http_build_query sprintf
added at:
2025-05-16 08:56:29
1
-
PHP 8.4 / MySQL 8.0 count print_r http_build_query sprintf
added at:
2025-05-16 08:50:44
1
-
PHP 8.4 / MySQL 8.0 count print_r http_build_query sprintf
added at:
2025-05-16 08:50:07
1
-
PHP 8.4 / MySQL 8.0 implode sprintf array_map count end
added at:
2025-04-03 04:53:37
1