如何将alphas的唯一变量转换为只有整数的唯一变量?

Our product's unique identifiers have SKUs with alphas like this: "A4-DGH-D4-WT-LT10". We need to integrate with a platform that only accepts integer unique identifiers. I was thinking to hash our SKU variable, but this still will create a variable with alphas. Is it possible to hash my unique identifier into only integers? If not hash, is there another method within PHP that can be used?

Any help is much appreciated.