show last character + php 7 code example Example: get last character of string php substr("testers", -1); // returns "s"