Downloads
Documentation
Get Involved
Help
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Enumerations
Errors
Exceptions
Fibers
Generators
Attributes
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Predefined Attributes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Session Security
Filesystem Security
Database Security
Error Reporting
User Submitted Data
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Dealing with XForms
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Command line usage
Garbage Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
GUI Extensions
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
g p
Previous man page
g n
Next man page
G
Scroll to bottom
g g
Scroll to top
g h
Goto homepage
g s
Goto search
(current page)
/
Focus search box
기본 문법 »
« How to change configuration settings
PHP 매뉴얼
Change language:
English
Brazilian Portuguese
Chinese (Simplified)
French
German
Japanese
Romanian
Russian
Spanish
Turkish
Other
Submit a Pull Request
Report a Bug
언어 레퍼런스
기본 문법
HTML에서 벗어나기
명령 구분
주석
자료형
소개
불린(Booleans)
Integers
Floating point numbers
Strings
Arrays
Objects
Resources
NULL
Callbacks / Callables
슈도(Pseudo) 타입과 이 문서에서 사용되고 있는 변수들
Type Juggling
변수
기본문법
미리 선언된 변수
변수 유효영역
가변 변수
외부에서 오는 변수들
상수
문법
마법 상수
표현식
연산자
연산자 우선권
계산 연산자
할당 연산자
비트 연산자
비교 연산자
오류 제어 연산자
실행 연산자
증가/감소 연산자
논리 연산자
문자열 연산자
배열 연산자
자료형 연산자
제어 구조
소개
if
else
elseif/else if
제어 구조의 대체 문법
while
do-while
for
foreach
break
continue
switch
declare
return
require
include
require_once
include_once
goto
함수
사용자 선언 함수
함수 인수
반환값
가변 함수
내부 (내장) 함수
익명 함수
클래스와 객체
소개
기초
프로퍼티
클래스 상수
클래스 자동로딩
생성자와 소멸자
가시성
객체 상속
스코프 해결 연산자 (::)
static 키워드
클래스 추상화
객체 인터페이스
트레이트
Anonymous classes
오버로딩
객체 순회
특수 메서드
Final 키워드
객체 복제
객체 비교
타입 힌트
늦은 정적 바인딩
객체와 참조
객체 직렬화
OOP 변경기록
네임스페이스
네임스페이스 개요
Defining namespaces
Declaring sub-namespaces
Defining multiple namespaces in the same file
Using namespaces: Basics
Namespaces and dynamic language features
namespace keyword and __NAMESPACE__ constant
Using namespaces: Aliasing/Importing
Global space
Using namespaces: fallback to global function/constant
Name resolution rules
FAQ: things you need to know about namespaces
Errors
Basics
Errors in PHP 7
예외
예외 확장하기
Generators
Generators overview
Generator syntax
Comparing generators with Iterator objects
참조 표현
참조란 무엇인가
참조는 무엇을 하는가
참조가 아닌 것
참조에 의한 전달
참조 반환하기
참조 해제
참조로 볼수 있는것
미리 정의된 변수
Superglobals
— Superglobals are built-in variables that are always available in all scopes
$GLOBALS
— References all variables available in global scope
$_SERVER
— Server and execution environment information
$_GET
— HTTP GET variables
$_POST
— HTTP POST variables
$_FILES
— HTTP File Upload variables
$_REQUEST
— HTTP Request variables
$_SESSION
— Session variables
$_ENV
— Environment variables
$_COOKIE
— HTTP Cookies
$php_errormsg
— The previous error message
$HTTP_RAW_POST_DATA
— Raw POST data
$http_response_header
— HTTP response headers
$argc
— The number of arguments passed to script
$argv
— Array of arguments passed to script
미리정의된 예외들
Exception
ErrorException
미리 정의된 Interface 와 Class
Traversable
— Traversable 인터페이스
Iterator
— Iterator 인터페이스
IteratorAggregate
— IteratorAggregate 인터페이스
Throwable
ArrayAccess
— ArrayAccess 인터페이스
Serializable
— Serializable 인터페이스
Closure
— Closure 클래스
Generator
— Generator 클래스
컨텍스트 옵션과 인수
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
MongoDB context options
— MongoDB context option listing
Context parameters
— Context parameter listing
Supported Protocols and Wrappers
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
add a note
User Contributed Notes
There are no user contributed notes for this page.