Javascript to PHP function help

Can anyone please convert this javascript function in PHP so that it produces the same output?

curid = (new Date()).getTime().toString(16).toUpperCase() +
Math.round( Math.random()*1000000000 ).toString(16).toUpperCase();

Output will be like : 12B4DFF632616E81E71

Thanks

A duplicate posting, reported it.