StringUtils deprecated

StringUtils deprecated

class StringUtils

deprecated

since 2.8, to be removed in 3.0.

String utility functions.

Methods

static bool equals(string $knownString, string $userInput)

Compares two strings.

static int safeStrlen(string $string)

Returns the number of bytes in a string.

Details

static bool equals(string $knownString, string $userInput)

Compares two strings.

This method