एक स्ट्रिंग की लंबाई Length of string

strlen() फ़ंक्शन सफलता पर स्ट्रिंग की लंबाई लौटाता है, और 0 यदि स्ट्रिंग खाली है।

<?php 

 

 $str10=’Hello world’; 

 echo strlen($str10); 

  

?>

Output

11

Leave a Reply

Your email address will not be published. Required fields are marked *