PHP has a function uniqid(), but that does not generate a unique ID in the same format as MSSQL NEWID(). I don't know of one which does, however I can imagine that someone has written one - combining uniqid() and microtime() etc in some way to generate something which is likely to be unique (which is all that MSSQL's one guarantees anyway).
Mark