PHP Tutorial
PHP strlen online function, run and write PHP code.
PHP strlen online function - online editor.
strlen function — Get string length.
PHP strlen returns the length of the given string..
Syntax:
strlen(string $string );
In this editor you can change the values for $ e_str then run the program by clicking "Execute (F9)"
Example 2: A strlen() function example:
Tags: PHP strlen returns the length of the given string..
Syntax:
strlen(string $string );
This tool will display the length of the given text.
Example 1: A strlen() function example:
Example 1: A strlen() function example:
<?php
$e_str = 'ab23cd44ef';
echo strlen($e_str); // 10
echo "<br />";
$e_str = ' a23b ghd 77 ';
echo strlen($e_str); // 13
?>
In this editor you can change the values for $ e_str then run the program by clicking "Execute (F9)"
Example 2: A strlen() function example:
<?php
$e_str = 'PHP strlen online. Check the
characters length of your text.';
echo strlen($e_str); // 60
echo "<br />";
$e_str = ' a23b ghd 77 ';
echo strlen($e_str); // 13
?>
PHP strlen() function 19
PHP strlen online function
PHP Functons
PHP count() FunctionPHP define() function
PHP empty() Function
PHP explode() function
PHP html_entity_decode() function
PHP htmlentities() function
PHP htmlspecialchars_decode() function
PHP htmlspecialchars() function
PHP implode() function
PHP isset() Function
PHP lcfirst() function
PHP ltrim() function
PHP md5() function
PHP print() function
PHP printf() function
PHP rtrim() function
PHP similar_text() function
PHP str_repeat() function
PHP str_replace() function
PHP str_split() function
PHP strcmp() function
PHP strip_tags() function
PHP strlen online function
PHP strrchr() Function
PHP strstr() function
PHP strtolower() function
PHP strtoupper() function
PHP substr() function
PHP trim() function
PHP ucfirst() function