The Number of Characters in a String in PHP
The number of characters in a string in PHP can be
found using the function strlen.
See the example:
<?php
echo strlen('world');
?>
Code execution result:
5
The number of characters in a string in PHP can be
found using the function strlen.
See the example:
<?php
echo strlen('world');
?>
Code execution result:
5