longestCommonSuffix

Returns the longest common suffix between the string and $otherStr.

Description

static longestCommonSuffix(string $otherStr)

Parameters

  • string $otherStr
    Second string for comparison

Return Value

static
String being the longest common suffix