bool fread(resource handle, int length) 파일로부터 지정한 크기만큼의 데이터를 읽어들인다. fopen()으로 열린 handle을 length만큼 읽어들여 반환한다. length는 byte 단위의 정수가 사용된다. 한편 length가 잃어드린 데이터 보다 커더 파일의 끝(EOF:end of file)까지 읽어들인 후 중단한다. 예제-message.txt He was in time for the last bus. He goes to his office ever other day. It is nearly six (o'clock) 일찍일찍 다니자 예제