Does anyone know how to format a string in PHP like you can in VB?

Format ("16250", "0,000")

would return 16,250 in VB, but can't figure out the printf function in PHP.

Thanks