Php Find Last Occurrence Of Character In String