98 of 110 menu

PHP String Length

To find the string length in PHP, use the strlen function. See the example:

<?php echo strlen('text'); ?>

Code execution result:

4

See Also

English
БеларускаяEspañolРусский
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline