strlen
strlen — Get string length.Description
strlen( string $string ): intReturns the length of the given string.
Parameters
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 / strlen
last run:
2022-05-20 15:53:44
23
- PHP 8.0 / implode array_filter preg_match array_map strlen range
last run:
2021-05-02 20:42:52
16
- PHP 7.4 / strlen ceil print_r
last run:
2023-04-18 15:29:39
15
- PHP 8.1 / strtolower strlen ord trim
last run:
2024-12-27 17:33:28
11
- PHP 8.2 / strlen mt_rand mysqli_prepare mysqli_stmt_bind_param mysqli_stmt_execute var_dump
last run:
2023-06-29 14:43:29
11
- PHP 8.1 / str_shuffle strlen
last run:
2024-12-04 18:16:51
10
- PHP 7.4 / MySQL 8.0 strlen rand
last run:
2024-06-04 04:49:52
10
- PHP 7.4 / strlen ceil
last run:
2021-07-01 20:47:09
10
- PHP 8.1 / print_r decbin strlen
last run:
2023-10-13 12:37:43
8
- PHP 8.1 / strlen substr_replace
last run:
2022-06-08 10:46:08
8
strlen - New snippets
-
PHP 8.4 / MySQL 8.0 strlen openssl_random_pseudo_bytes openssl_cipher_iv_length openssl_decrypt
added at:
2025-04-23 09:14:15
1
-
PHP 8.4 / MySQL 8.0 function_exists crc32 strlen chr
added at:
2025-04-20 10:49:24
1
-
PHP 8.4 / MySQL 8.0 crc32 strlen chr
added at:
2025-04-20 10:48:38
1
-
PHP 8.4 / MySQL 8.0 crc32 strlen chr
added at:
2025-04-19 12:43:05
4
-
PHP 8.4 / MySQL 8.0 crc32 strlen chr
added at:
2025-04-19 12:39:57
3
-
PHP 8.4 / MySQL 8.0 crc32 strlen chr
added at:
2025-04-19 12:39:17
1
-
PHP 8.4 / MySQL 8.0 strlen chr
added at:
2025-04-19 12:39:03
2
-
PHP 8.4 / MySQL 8.0 crc32 strlen chr
added at:
2025-04-19 12:36:12
5
-
PHP 8.4 / MySQL 8.0 crc32 chr strlen
added at:
2025-04-19 12:23:36
1
-
PHP 8.4 / MySQL 8.0 crc32 chr strlen
added at:
2025-04-19 12:23:32
1