strlen() - طول یک رشته را برگردانید(strlen() - Return the Length of a String)

عملکرد PHP strlen() طول یک رشته را برمی گرداند.



مثال


Retu
the length of the string "Hello world!":



<?php

echo strlen("Hello world!"); // outputs 12

?>