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-01-23 12:05:32
14
- PHP 7.4 / MySQL 5.7 strlen ceil
last run:
2021-07-01 20:47:09
10
- 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 base64_encode
last run:
2022-11-21 20:06:29
5
- PHP 8.1 / MySQL 5.7 strlen
last run:
2022-05-21 12:17:57
5
- PHP 8.1 / MySQL 5.7 strlen substr var_dump
last run:
2022-06-02 05:11:24
5
- PHP 8.0 / MySQL 5.7 strpos strlen substr intval var_dump
last run:
2022-02-03 12:42:38
5
- PHP 8.0 / MySQL 8.0 strlen
last run:
2021-05-14 15:24:38
5
strlen - New snippets
-
PHP 8.1 / MySQL 5.7 number_format strlen explode
added at:
2023-02-06 10:15:00
1
-
PHP 8.1 / MySQL 5.7 strlen md5
added at:
2023-02-05 10:18:31
1
-
PHP 8.2 RC / MySQL 5.7 preg_replace strlen str_replace
added at:
2023-02-04 13:09:53
1
-
PHP 8.2 RC / MySQL 5.7 preg_replace strlen str_replace
added at:
2023-02-04 13:08:34
1
-
PHP 8.2 RC / MySQL 5.7 strlen str_replace substr
added at:
2023-02-04 13:06:11
1
-
PHP 8.2 RC / MySQL 5.7 strlen substr str_replace substr_replace
added at:
2023-02-04 12:55:23
1
-
PHP 8.2 RC / MySQL 5.7 preg_replace strlen substr str_replace
added at:
2023-02-04 12:52:58
1
-
PHP 8.2 RC / MySQL 5.7 preg_replace strlen substr str_replace substr_replace
added at:
2023-02-04 12:52:49
2
-
PHP 8.2 RC / MySQL 5.7 preg_replace strlen substr str_replace
added at:
2023-02-04 12:49:58
1
-
PHP 8.2 RC / MySQL 5.7 preg_replace strlen substr str_replace
added at:
2023-02-04 12:47:05
1