W3cubDocs

/WordPress

POMO_Reader::strlen( string $string )

Parameters

$string

(string) (Required)

Return

(int)

Source

File: wp-includes/pomo/streams.php

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

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