Can I use file_get_content() to compare two files?

Posted by xdazzyy on Stack Overflow See other posts from Stack Overflow or by xdazzyy
Published on 2010-06-17T08:41:13Z Indexed on 2010/06/17 8:43 UTC
Read the original article Hit count: 101

Filed under:

I want to synchronize two directories. And I use file_get_content($source) === file_get_content($dest) to compare two files. Is there any problem to do this?

© Stack Overflow or respective owner

Related posts about php