---
id: php-tutorial-index
title: "PHP Tutorial"
category: "Programming_Language"
status: "draft"
verification_status: "conceptual"
canonical_id: ""
aliases: ["PHP Tutorial", "PHP MOC", "Topic_PHP index", "PHP 목차"]
duplicate_of: ""
source_trust_level: "B"
confidence_score: 0.90
created_at: 2026-07-04
updated_at: 2026-07-04
review_reason: ""
merge_history: []
tags: ["php", "programming", "w3schools", "moc", "index"]
raw_sources: ["https://www.w3schools.com/php/"]
applied_in: []
github_commit: ""
---

# [[PHP Tutorial]]

## 🎯 한 줄 통찰 (One-line insight)
Map of Content (MOC) for the W3Schools PHP Tutorial — the root that links every core-PHP-language knowledge page in this topic folder. [S1]

## 🧠 핵심 개념 (Core concepts)
- This folder (`Topic_PHP`) wikifies the core PHP language tutorial, one knowledge page per document, in P-Reinforce v3.1 format — same convention as `Topic_SQL` / `Topic_Python` / `Topic_Java` / `Topic_HTML` / `Topic_CSS` / `Topic_JavaScript`. [S1]
- Scope: **tutorial pages only**. Explicitly **excluded**: reference dumps (`php_ref_*` index pages and all `func_*`/`keyword_*`/`ref_exception_*` detail pages), meta pages (Exam/Examples/Compiler/Quiz/Exercises/Server/Syllabus/Study Plan). [S1]
- **Included despite overlapping category names**: `php_mysql_*` (PHP-specific mysqli usage, distinct from a general MYSQL category) and `php_xml_*` (PHP-specific XML parsing via SimpleXML/DOM/Expat, distinct from a general XML syntax category) and `php_json.asp` (PHP's json_encode/decode usage, distinct from a general JSON category) — same precedent as Python_MySQL/Python_MongoDB staying in Topic_Python. [S1]
- **Progress:** **114 of 114 planned docs complete — PHP category done.**
- Every page roots its Knowledge Graph back to this `[[PHP Tutorial]]` node.

## 📖 세부 내용 (Details)

### Basics
- [[PHP Intro]] ✅
- [[PHP Install]] ✅
- [[PHP Syntax]] ✅
- [[PHP Comments]] ✅
- [[PHP Comments Multiline]] ✅

### Variables & Output
- [[PHP Variables]] ✅
- [[PHP Variables Scope]] ✅
- [[PHP Echo Print]] ✅
- [[PHP Data Types]] ✅

### Strings
- [[PHP Strings]] ✅
- [[PHP String Functions]] ✅
- [[PHP String Modify]] ✅
- [[PHP String Concatenate]] ✅
- [[PHP String Slicing]] ✅
- [[PHP String Escape]] ✅

### Numbers & Math
- [[PHP Numbers]] ✅
- [[PHP Casting]] ✅
- [[PHP Math]] ✅
- [[PHP Constants]] ✅
- [[PHP Magic Constants]] ✅

### Operators
- [[PHP Operators]] ✅

### Conditions & Switch
- [[PHP If Else]] ✅
- [[PHP If Operators]] ✅
- [[PHP If Else If]] ✅
- [[PHP If Shorthand]] ✅
- [[PHP If Nested]] ✅
- [[PHP Switch]] ✅
- [[PHP Match]] ✅

### Loops
- [[PHP Looping]] ✅
- [[PHP Looping While]] ✅
- [[PHP Looping Do While]] ✅
- [[PHP Looping For]] ✅
- [[PHP Looping Foreach]] ✅
- [[PHP Looping Break]] ✅
- [[PHP Looping Continue]] ✅

### Functions
- [[PHP Functions]] ✅

### Arrays
- [[PHP Arrays]] ✅
- [[PHP Arrays Indexed]] ✅
- [[PHP Arrays Associative]] ✅
- [[PHP Arrays Create]] ✅
- [[PHP Arrays Access]] ✅
- [[PHP Arrays Update]] ✅
- [[PHP Arrays Add]] ✅
- [[PHP Arrays Remove]] ✅
- [[PHP Arrays Sort]] ✅
- [[PHP Arrays Multidimensional]] ✅
- [[PHP Arrays Functions]] ✅

### Superglobals
- [[PHP Superglobals]] ✅
- [[PHP Superglobals Globals]] ✅
- [[PHP Superglobals Server]] ✅
- [[PHP Superglobals Request]] ✅
- [[PHP Superglobals Post]] ✅
- [[PHP Superglobals Get]] ✅

### RegEx
- [[PHP RegEx]] ✅
- [[PHP RegEx Functions]] ✅

### Forms
- [[PHP Forms]] ✅
- [[PHP Form Validation]] ✅
- [[PHP Form Required]] ✅
- [[PHP Form URL Email]] ✅
- [[PHP Form Complete]] ✅

### Date
- [[PHP Date]] ✅

### Includes
- [[PHP Includes]] ✅

### Files
- [[PHP File]] ✅
- [[PHP File Open]] ✅
- [[PHP File Create]] ✅
- [[PHP File Upload]] ✅

### Cookies & Sessions
- [[PHP Cookies]] ✅
- [[PHP Sessions]] ✅

### Filter
- [[PHP Filter]] ✅
- [[PHP Filter Advanced]] ✅

### Callback Functions
- [[PHP Callback Functions]] ✅

### JSON
- [[PHP JSON]] ✅

### Exceptions & Errors
- [[PHP Exceptions]] ✅
- [[PHP Error Handling]] ✅
- [[PHP Exception]] ✅

### OOP
- [[PHP OOP What Is]] ✅
- [[PHP OOP Classes Objects]] ✅
- [[PHP OOP Constructor]] ✅
- [[PHP OOP Destructor]] ✅
- [[PHP OOP Access Modifiers]] ✅
- [[PHP OOP Inheritance]] ✅
- [[PHP OOP Constants]] ✅
- [[PHP OOP Classes Abstract]] ✅
- [[PHP OOP Interfaces]] ✅
- [[PHP OOP Traits]] ✅
- [[PHP OOP Static Methods]] ✅
- [[PHP OOP Static Properties]] ✅

### Namespaces & Iterables
- [[PHP Namespaces]] ✅
- [[PHP Iterables]] ✅

### MySQL
- [[PHP MySQL Intro]] ✅
- [[PHP MySQL Connect]] ✅
- [[PHP MySQL Create DB]] ✅
- [[PHP MySQL Create Table]] ✅
- [[PHP MySQL Insert]] ✅
- [[PHP MySQL Insert Last ID]] ✅
- [[PHP MySQL Insert Multiple]] ✅
- [[PHP MySQL Prepared Statements]] ✅
- [[PHP MySQL Select]] ✅
- [[PHP MySQL Select Where]] ✅
- [[PHP MySQL Select Order By]] ✅
- [[PHP MySQL Delete]] ✅
- [[PHP MySQL Update]] ✅
- [[PHP MySQL Select Limit]] ✅

### XML
- [[PHP XML Parsers]] ✅
- [[PHP XML SimpleXML Read]] ✅
- [[PHP XML SimpleXML Get]] ✅
- [[PHP XML Parser Expat]] ✅
- [[PHP XML DOM]] ✅

### AJAX
- [[PHP AJAX Intro]] ✅
- [[PHP AJAX PHP]] ✅
- [[PHP AJAX Database]] ✅
- [[PHP AJAX XML]] ✅
- [[PHP AJAX Live Search]] ✅
- [[PHP AJAX Poll]] ✅

## 🛠️ 적용 사례 (Applied in summary)
0 knowledge documents generated so far in this batch run.

## ✅ 검증 상태 및 신뢰도
- **상태:** draft
- **검증 단계:** conceptual
- **출처 신뢰도:** B (W3Schools — widely used educational reference)
- **신뢰 점수:** 0.90
- **중복 검사 결과:** 신규 생성 (New discovery)

## 🔗 지식 그래프 (Knowledge Graph)
- **상위/루트:** [[10_Wiki]]
- **관련 개념:** [[PHP Intro]], [[PHP OOP What Is]], [[Java Tutorial]], [[Python Tutorial]], [[SQL Tutorial]]
- **참조 맥락:** SQL/Python/Java에 이어 W3Schools 지식화 시리즈의 다음 카테고리.

## 📚 출처 (Sources)
- [S1] W3Schools — PHP Tutorial — https://www.w3schools.com/php/

## 📝 변경 이력 (Change history)
- 2026-07-04: Created PHP Tutorial MOC with scope decisions and full planned page list (Astra wiki-curation, P-Reinforce v3.1 format).
