Extract image file properties with PHP?

Is there a function in PHP that can be used to extract for printing the stored properties (Dimensions, Camera maker, and Comments, etc.) from an image file? In the comments field I keep names of persons in the photo and other information of where it was taken.

If so, what is it and how can I use it. I know how to use scan(dir) to read the content of a folder. I want to get/print a file name and print the comments next to it.

Thanks for sharing all you know.

See: EXIF

If you search Google there is also some code written that will do something similar - I think there is a link on one of the pages in the link above.

Thank you!!
The link you provide has just the information I needed.