strval
strval — Get string value of a variable.Description
strval( mixed $values ): stringGet the string value of a variable. See the documentation on string for more information on converting to string. This function performs no formatting on the returned value. If you are looking for a way to format a numeric value as a string, please see sprintf() or number_format().
Parameters
value
The variable that is being converted to a string.
value may be any scalar type or an object that implements the __toString() method. You cannot use strval() on arrays or on objects that do not implement the __toString() method.
Return Values
The string value of value.More information about strval on official PHP documentation site
strval - Popular snippets
- PHP 8.1 / MySQL 8.0 printf phpversion strval json_encode
last run:
2022-05-07 12:47:09
6
- PHP 8.1 / MySQL 5.7 strval decbin print_r
last run:
2022-06-17 13:17:07
5
- PHP 8.1 / MySQL 5.7 strval decbin print_r
last run:
2022-06-17 13:24:34
4
- PHP 8.0 / MySQL 5.7 strval decbin strlen
last run:
2021-12-06 18:40:18
4
- PHP 8.1 / MySQL 5.7 strlen strval
last run:
2024-04-09 14:42:30
3
- PHP 8.1 / MySQL 5.7 strval decbin print_r
last run:
2022-06-17 13:12:03
2
- PHP 8.0 / MySQL 5.7 uasort strval print_r
last run:
2022-04-12 08:52:03
2
- PHP 8.0 / MySQL 5.7 strval print_r
last run:
2022-01-06 07:55:52
2
- PHP 8.0 / MySQL 5.7 strval decbin strlen substr
last run:
2022-02-05 20:37:55
2
- PHP 8.0 / MySQL 5.7 strval strlen decbin substr
last run:
2021-08-09 19:36:43
2
strval - New snippets
-
PHP 8.1 / MySQL 5.7 strlen strval
added at:
2024-04-09 14:42:26
3
-
PHP 8.1 / MySQL 5.7 mb_strtoupper strval mb_strtolower print_r
added at:
2024-03-28 16:42:08
1
-
PHP 8.1 / MySQL 5.7 mb_strtoupper strval mb_strtolower print_r
added at:
2024-03-28 16:42:00
1
-
PHP 8.1 / MySQL 5.7 mb_strtoupper strval mb_strtolower print_r
added at:
2024-03-28 16:41:21
1
-
PHP 8.1 / MySQL 5.7 mb_strtoupper strval mb_strtolower print_r
added at:
2024-03-28 16:41:07
1
-
PHP 8.1 / MySQL 5.7 mb_strtoupper strval mb_strtolower print_r
added at:
2024-03-28 16:40:40
1
-
PHP 8.1 / MySQL 5.7 mb_strtoupper strval mb_strtolower print_r
added at:
2024-03-28 16:40:33
1
-
PHP 8.1 / MySQL 5.7 mb_strtoupper strval mb_strtolower print_r
added at:
2024-03-28 16:40:05
1
-
PHP 8.1 / MySQL 5.7 mb_strtoupper strval mb_strtolower print_r
added at:
2024-03-28 16:39:49
1
-
PHP 7.4 / MySQL 5.7 mysqli_prepare json_decode strval
added at:
2023-01-19 07:08:15
1