Lines Matching refs:read
2 Test fread() function : usage variations - read beyond file size, write only mode
14 Reading stops when up to length bytes have been read, EOF (end of file) is
16 opening userspace stream) when 8192 bytes have been read whichever comes first.
24 bytes are read.
26 $read_size : No. of bytes to be read.
28 Returns: returns the data read
31 // print file pointer position before read
35 // read the data of size $read_size
39 // check if data read is of expected size
43 echo "Error reading file, total number of bytes read = ".strlen($data_from_file)."\n";
45 // file pointer position after read
85 // read file by giving size more than its size