First argument for PHP fread() in Critiques 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
First argument for PHP fread()
in Critiques
Posted
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