W3cubDocs

/WordPress

POMO_Reader::strlen( string $input_string ): int

Parameters

$input_stringstringrequired

Return

int

Source

public function strlen( $input_string ) {
	if ( $this->is_overloaded ) {
		return mb_strlen( $input_string, 'ascii' );
	} else {
		return strlen( $input_string );
	}
}

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/pomo_reader/strlen