현재 위치: > 함수 카테고리 모음> filesize

filesize

파일 크기를 얻으십시오
이름:filesize
분류:파일 시스템
사용 언어:php
한 줄 설명:파일 크기를 반환합니다.

 <span class="token php language-php"><span class="token delimiter important"><? php</span>
<span class="token keyword">echo</span> <span class="token function">filesize</span> <span class="token punctuation">(</span> <span class="token string double-quoted-string">"test.txt"</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span>
<span class="token delimiter important">?></span></span>

산출:

 20
유사한 함수
  • 파일에 데이터를 작성하십시오 file_put_contents

    file_put_contents

    파일에데이터를작성하십시오
  • 실제 경로 버퍼의 크기를 얻으십시오 realpath_cache_size

    realpath_cache_size

    실제경로버퍼의크기를얻으십시오
  • 경로의 디렉토리 부분으로 돌아갑니다 dirname

    dirname

    경로의디렉토리부분으로돌아갑니다
  • 파일 유형을 가져옵니다 filetype

    filetype

    파일유형을가져옵니다
  • 주어진 파일 이름이 일반 파일인지 결정 is_file

    is_file

    주어진파일이름이일반파일인지결정
  • 파일에 대한 변경 동기화 (메타 데이터 포함) fsync

    fsync

    파일에대한변경동기화(메타데이터포함)
  • 데이터 (메타 데이터는 아님)를 파일과 동기화합니다 fdatasync

    fdatasync

    데이터(메타데이터는아님)를파일과동기화
  • 파일 소유자를 얻으십시오 fileowner

    fileowner

    파일소유자를얻으십시오
인기 기사