I have this variable: $pattern = "73,1,72";
//string in quotes
I want to create 3 new variables, first one should contain first value, second the second, and the third should contain the third.
So eventually should have these values:
$var1 == 73
$var2 == 1
$var3 == 72
How can I extract those numbers?