Files
2nd/10_Wiki/Dev/Topic_PHP/PHP_Intro.md
T
Antigravity Agent 1cfd3bbb56 docs(10_Wiki): 위키 구조 정리 — 언어 튜토리얼 카테고리 폴더 제거 + 신규 자산 동기화
Topic_CSS/Topic_HTML/Topic_JavaScript/Topic_Prompt/Topic_Comfyui 등 기존 카테고리 폴더를 정리하고,
Topic_Graphic/Dev 등 신규 산출물과 Topics 내부 세션/메모리 기록을 동기화.
2026-07-05 00:10:59 +09:00

65 lines
3.1 KiB
Markdown

---
id: php-intro
title: "PHP Intro"
category: "Programming_Language"
status: "draft"
verification_status: "conceptual"
canonical_id: ""
aliases: ["What is PHP", "PHP 소개"]
duplicate_of: ""
source_trust_level: "B"
confidence_score: 0.88
created_at: 2026-07-04
updated_at: 2026-07-04
review_reason: ""
merge_history: []
tags: ["php", "programming", "w3schools", "intro"]
raw_sources: ["https://www.w3schools.com/php/php_intro.asp"]
applied_in: []
github_commit: ""
---
# [[PHP Intro]]
## 🎯 한 줄 통찰 (One-line insight)
PHP is explicitly framed as server-executed — code runs on the server and only the resulting HTML reaches the browser, meaning PHP source is never visible to the client, unlike JavaScript which ships as readable source to the browser. [S1]
## 🧠 핵심 개념 (Core concepts)
- **PHP** — "PHP: Hypertext Preprocessor"; a widely-used, open source, server-side scripting language. [S1]
- **Server-side execution** — PHP scripts run on the server; the result is returned to the browser as HTML. [S1]
- **Platform/server compatibility** — runs on Windows/Linux/Unix/Mac; works with Nginx/Apache/IIS/Cloudflare. [S1]
- **Database support** — MySQL, PostgreSQL, MS SQL, DB2, Oracle, MongoDB, etc. [S1]
- **`.php` file extension** — files can mix text, HTML, CSS, JavaScript, and PHP code. [S1]
- **PHP 8 highlights** — JIT compiler, Union Types, Named Arguments, Match Expressions, Nullsafe Operator (`?->`), Attributes, new functions (`str_contains()`, etc.). [S1]
## 📖 세부 내용 (Details)
- What PHP can do: generate dynamic content, manage files, collect form data, handle cookies, modify databases, control access, encrypt data, output non-HTML formats (images, PDF, XML). [S1]
- Prerequisite knowledge: HTML, CSS, JavaScript basics recommended before starting PHP. [S1]
## ⚖️ 모순 및 업데이트 (Contradictions & updates)
소스에서 모순되는 정보는 발견되지 않음.
## 🛠️ 적용 사례 (Applied in summary)
현재 발견된 실제 적용 사례가 없습니다 — 대형 블로그 시스템과 소셜 네트워크가 PHP 기반으로 운영된다는 점이 언급된다. [S1]
## 💻 코드 패턴 (Code patterns)
해당 챕터는 개념 소개 중심으로 별도 코드 예제가 없음 — 다음 챕터([[PHP Install]])에서 실행 환경 설정이 시작된다.
## ✅ 검증 상태 및 신뢰도
- **상태:** draft
- **검증 단계:** conceptual
- **출처 신뢰도:** B (W3Schools — widely used educational reference, not a primary standards body)
- **신뢰 점수:** 0.88
- **중복 검사 결과:** 신규 생성 (New discovery)
## 🔗 지식 그래프 (Knowledge Graph)
- **상위/루트:** [[PHP Tutorial]]
- **관련 개념:** [[PHP Install]], [[PHP Syntax]]
- **참조 맥락:** PHP 튜토리얼의 도입부 — 설치/문법 챕터로 이어짐.
## 📚 출처 (Sources)
- [S1] W3Schools — PHP Introduction — https://www.w3schools.com/php/php_intro.asp
## 📝 변경 이력 (Change history)
- 2026-07-04: Initial draft synthesized from the W3Schools "PHP Introduction" page (Astra wiki-curation, P-Reinforce v3.1 format).