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 print_r strlen
added at:
2024-11-19 06:35:04
1
-
PHP 8.1 / MySQL 8.0 strlen substr trim
added at:
2024-11-18 12:26:53
1
-
PHP 8.2.13 / MariaDB 10 strlen
added at:
2024-10-14 06:39:02
1
-
PHP 8.2.13 / MariaDB 10 strlen
added at:
2024-10-14 06:38:50
1
-
PHP 8.2.13 / MariaDB 10 strlen
added at:
2024-10-14 06:38:33
1
-
PHP 8.2.13 / MariaDB 10 strlen
added at:
2024-10-14 06:38:16
1
-
PHP 8.2.13 / MariaDB 10 strlen
added at:
2024-10-14 06:38:05
1
-
PHP 8.2.13 / MariaDB 10 strlen
added at:
2024-10-14 06:07:05
1
-
PHP 8.2.13 / MariaDB 10 strlen
added at:
2024-10-14 06:07:00
1
-
PHP 8.2.13 / MariaDB 10 strlen
added at:
2024-10-14 06:06:54
1