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
last run:
2023-04-10 13:11:34
35
- PHP 8.1 / MySQL 5.7 sprintf var_dump
last run:
2022-11-22 15:51:06
33
- PHP 8.1 / MySQL 5.7 sprintf var_dump
last run:
2022-11-22 15:44:01
31
- PHP 8.1 / MySQL 5.7 substr_replace sprintf
last run:
2022-08-21 10:41:25
18
- PHP 8.1 / MySQL 5.7 sprintf var_dump
last run:
2022-11-22 15:53:03
17
- PHP 8.1 / MySQL 5.7 sprintf var_dump
last run:
2022-11-22 15:42:48
16
- PHP 8.1 / MySQL 5.7 sprintf var_dump
last run:
2022-11-22 15:49:03
15
- PHP 8.1 / MySQL 5.7 sprintf var_dump
last run:
2022-11-22 15:40:27
15
- PHP 8.1 / MySQL 5.7 sprintf var_dump
last run:
2022-11-22 15:45:23
10
- PHP 8.1 / MySQL 5.7 sprintf var_dump
last run:
2022-11-22 15:40:05
10
sprintf - New snippets
-
PHP 5.6 / MySQL 8.0 sprintf json_encode htmlspecialchars
added at:
2024-05-10 05:35:21
1
-
PHP 5.6 / MySQL 8.0 sprintf json_encode htmlspecialchars
added at:
2024-05-10 05:34:54
1
-
PHP 5.6 / MySQL 8.0 sprintf json_encode htmlspecialchars
added at:
2024-05-10 05:28:52
1
-
PHP 5.6 / MySQL 8.0 sprintf json_encode htmlspecialchars
added at:
2024-05-10 05:28:44
1
-
PHP 8.2.13 / MySQL 8.0 var_export sprintf
added at:
2024-04-30 22:27:48
1
-
PHP 8.2.13 / MySQL 8.0 var_export sprintf
added at:
2024-04-30 22:27:30
1
-
PHP 8.0 / MySQL 8.0 sprintf
added at:
2024-04-15 09:39:18
3
-
PHP 8.0 / MySQL 8.0 sprintf
added at:
2024-04-15 09:39:08
2
-
PHP 8.0 / MySQL 8.0 sprintf
added at:
2024-04-15 09:38:54
2
-
PHP 8.0 / MySQL 8.0 sprintf
added at:
2024-04-15 09:38:47
1