strlen
strlen — Get string length.Description
strlen( string $string ): intReturns the length of the given string.
Parameters
string
The string being measured for length.
Return Values
The length of the string on success, and 0 if the string is empty.More information about strlen on official PHP documentation site
strlen - Popular snippets
- PHP 8.1 / MySQL 5.7 strlen
last run:
2022-05-20 15:53:44
23
- PHP 8.0 / MySQL 5.7 implode array_filter preg_match array_map strlen range
last run:
2021-05-02 20:42:52
16
- PHP 7.4 / MySQL 5.7 strlen ceil print_r
last run:
2023-04-18 15:29:39
15
- PHP 8.2.13 / MySQL 5.7 strlen mt_rand mysqli_prepare mysqli_stmt_bind_param mysqli_stmt_execute var_dump
last run:
2023-06-29 14:43:29
11
- PHP 7.4 / MySQL 8.0 strlen rand
last run:
2024-06-04 04:49:52
10
- PHP 7.4 / MySQL 5.7 strlen ceil
last run:
2021-07-01 20:47:09
10
- PHP 8.1 / MySQL 5.7 print_r decbin strlen
last run:
2023-10-13 12:37:43
8
- PHP 8.1 / MySQL 5.7 strlen substr_replace
last run:
2022-06-08 10:46:08
8
- PHP 8.1 / MySQL 5.7 strlen ctype_alpha ord ctype_upper chr
last run:
2023-11-24 18:11:00
7
- PHP 8.1 / MySQL 5.7 strlen ctype_upper chr
last run:
2023-11-24 18:04:10
6
strlen - New snippets
-
PHP 8.1 / MySQL 8.0 strlen substr
added at:
2024-09-25 09:22:40
1
-
PHP 8.1 / MySQL 8.0 strlen substr trim
added at:
2024-09-25 09:12:57
1
-
PHP 8.1 / MySQL 5.7 trim strtolower strlen
added at:
2024-09-15 21:23:46
2
-
PHP 8.1 / MySQL 5.7 str_split strpos str_pad decbin strlen chr bindec substr
added at:
2024-08-19 08:58:00
1
-
PHP 8.1 / MySQL 5.7 str_split strpos str_pad decbin strlen chr bindec substr
added at:
2024-08-19 08:57:45
1
-
PHP 8.1 / MySQL 5.7 str_split strpos str_pad decbin strlen chr bindec substr
added at:
2024-08-19 08:56:59
1
-
PHP 8.1 / MySQL 5.7 str_split strpos str_pad decbin ltrim strlen chr bindec substr strtoupper
added at:
2024-08-19 08:34:19
1
-
PHP 8.1 / MySQL 5.7 strlen str_split strpos str_pad decbin ltrim chr bindec substr strtoupper
added at:
2024-08-19 08:32:59
1
-
PHP 8.1 / MySQL 5.7 strlen str_split strpos str_pad decbin ltrim chr bindec substr strtoupper
added at:
2024-08-19 08:32:32
1
-
PHP 8.2.13 / MySQL 5.7 strlen rand
added at:
2024-08-02 20:07:00
1