언어 레퍼런스
미리 정의된 변수
- Superglobals — 모든 범위에서 항상 사용할 수 있는 기본 제공 변수
- $GLOBALS — 전역 범위에서 사용 가능한 모든 변수를 참조합니다.
- $_SERVER — 서버 및 실행 환경 정보
- $_GET — HTTP GET 변수
- $_POST — HTTP POST 변수
- $_FILES — HTTP 파일 업로드 변수
- $_REQUEST — HTTP 요청 변수
- $_SESSION — 세션 변수
- $_ENV — 환경 변수
- $_COOKIE — HTTP Cookies
- $php_errormsg — 이전 오류 메시지
- $http_response_header — HTTP 응답 헤더
- $argc — 스크립트에 전달된 인수의 수
- $argv — 스크립트에 전달된 인수 배열
미리 정의된 Interface 와 Class
- Traversable — The Traversable interface
- Iterator — The Iterator interface
- IteratorAggregate — The IteratorAggregate interface
- Throwable
- ArrayAccess — The ArrayAccess interface
- Serializable — The Serializable interface
- Closure — The Closure class
- Generator — The Generator class
- WeakReference — The WeakReference class
- WeakMap — The WeakMap class
- Stringable — The Stringable interface
- UnitEnum — The UnitEnum interface
- BackedEnum — The BackedEnum interface
컨텍스트 옵션과 인수
- Socket context options — Socket context option listing
- HTTP context options — HTTP context option listing
- FTP context options — FTP context option listing
- SSL context options — SSL context option listing
- CURL context options — CURL context option listing
- Phar context options — Phar context option listing
- Context parameters — Context parameter listing
- Zip context options — Zip context option listing
지원되는 프로토콜 및 래퍼
- file:// — Accessing local filesystem
- http:// — Accessing HTTP(s) URLs
- ftp:// — Accessing FTP(s) URLs
- php:// — Accessing various I/O streams
- zlib:// — Compression Streams
- data:// — Data (RFC 2397)
- glob:// — Find pathnames matching pattern
- phar:// — PHP Archive
- ssh2:// — Secure Shell 2
- rar:// — RAR
- ogg:// — Audio streams
- expect:// — Process Interaction Streams