<?php
int strlen ( str $string )
where,
$string = The string to determine the length
?>
<?php
$suprc = 'Supercalifragilisticexpialidocious';
$supnc = 'Anticonstitucionalissimamente';
$strsp = ' ';
$strnp = "";
$len_suprc = strlen($suprc);
$len_supnc = strlen($supnc);
$len_strsp = strlen($strsp);
$len_strnp = strlen($strnp);
echo $suprc . '<br>( ' . $len_suprc .
' characters )<br><br>' . $supnc ,
'<br>( ' . $len_supnc . ' characters )<br><br>';
echo $strsp . '<br>( ' . $len_strsp .
' characters )<br><br>' . $strnp ,
'<br>( ' . $len_strnp . ' characters )<br>';
?>