Is there any function in php lib that does the following
$a = 1238;
$n = 48; // 1*2*3*8
or I will have to create one for my script?
(I want to do it for both client and server sides based on request sent by user. I actually want it in php that is why i asked it here, but if the solution (as function) is available in javascript (not jQuery) please share or guide me.)