PHP Mail Attachments

How do I attach a zip file to a mail()?

Please don’t tell me to use google because i’ve seen all the results, yet I still don’t get it.

I need to see like an example of it in use in the PHP code.

Thanks for the help in advance!