POMO_Reader::strlen() WordPress Method
The POMO_Reader::strlen() WordPress method is used to find the length of a string. It is similar to the strlen() function in PHP.
POMO_Reader::strlen( string $string ) #
Parameters
- $string
(string)(Required)
Return
(int)
Source
File: wp-includes/pomo/streams.php
public function strlen( $string ) {
if ( $this->is_overloaded ) {
return mb_strlen( $string, 'ascii' );
} else {
return strlen( $string );
}
}
Expand full source codeCollapse full source codeView on TracView on GitHub