I am trying to convert this as3 code to php but its not working correctly. I need it like the as3 one generating thanks!
PHP:
print(floor(rand() * 1000) + 3000);
Result:28240000
AS3:
var intCID = Math.floor(Math.random() * 1000) + 3000;
var strSessionId = String(intCID);
trace(strSessionId);
Result:3330