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 5.7 preg_quote strpos strlen substr
added at:
2024-07-18 12:14:53
1
-
PHP 8.1 / MySQL 5.7 strlen ceil print_r
added at:
2024-07-10 05:41:02
2
-
PHP 8.2.13 / MySQL 8.0 preg_replace preg_quote substr_replace strlen substr
added at:
2024-07-04 01:23:28
1
-
PHP 8.2.13 / MySQL 8.0 substr_replace strlen substr mb_substr mb_strlen var_dump
added at:
2024-07-04 01:10:20
1
-
PHP 8.2.13 / MySQL 8.0 substr_replace strlen substr mb_substr mb_strlen var_dump
added at:
2024-07-04 00:24:08
2
-
PHP 8.2.13 / MySQL 8.0 preg_replace preg_quote substr_replace strlen substr mb_substr mb_strlen
added at:
2024-07-04 00:23:57
1
-
PHP 8.2.13 / MySQL 8.0 preg_replace preg_quote substr_replace strlen substr var_dump
added at:
2024-07-03 23:53:40
1
-
PHP 8.2.13 / MySQL 8.0 preg_replace preg_quote substr_replace strlen substr var_dump
added at:
2024-07-03 23:53:12
1
-
PHP 8.2.13 / MySQL 8.0 preg_replace preg_quote substr_replace strlen substr
added at:
2024-07-03 23:51:47
1
-
PHP 8.2.13 / MySQL 8.0 substr_replace strlen substr var_export
added at:
2024-07-03 23:39:27
1