alex4orly 0 Report post Posted October 21, 2016 Hello all, I am coming to learn PHP with a C/C++ background and noticed something which I think is incorrect: $myfile = fopen(); retuens a handle to the file. In the explanation for fread() however it is used and the explanation is that it is the name of the file as the 1st argument. This in my opinion is an incorrect explanation, it is actually the HANDLE. The majority of the PHP syntax however is mostly clear to me. Thanks to those who put the effort, to help us new comers... Cheers Alex Share this post Link to post Share on other sites
dsonesuk 846 Report post Posted October 21, 2016 I'm pretty sure this has been pointed out before, and is certainly misleading. If you look at http://php.net/manual/en/function.fread.php it gives more clearer meaning. Share this post Link to post Share on other sites