php get last 11 char from string code example
Example 1: get last character of string php
substr("testers", -1); // returns "s"
Example 2: php nth characters from end of string
$rest = substr("abcdef", -3, 1); // returns 'd'
substr("testers", -1); // returns "s"
$rest = substr("abcdef", -3, 1); // returns 'd'