#ZegnatOften resources are pointers to things outside of PHP itself. E.g. the resource created with fopen() is just a memory thing pointing to whatever you opened. Meaning you can handle really big files without PHP having to read the entire file into a string.