how do i get product of prime example for number 12 in php? in calculation we get product of prime for 12 is 2^2 x 3.