strlen函数使用说明(PHP 3, PHP 4, PHP 5)
strlen -- Get string length说明int strlen ( string string )Returns the length of the given .
参数 Thestring being measured for length.返回值The length of the on success, and if the is empty.
范例例子 1. A strlen() example
<?php$str = 'abcdef';echo strlen($str); // 6$str = ' ab cd ';echo strlen($str); // 7?>