docs(10_Wiki): 위키 구조 정리 — 언어 튜토리얼 카테고리 폴더 제거 + 신규 자산 동기화

Topic_CSS/Topic_HTML/Topic_JavaScript/Topic_Prompt/Topic_Comfyui 등 기존 카테고리 폴더를 정리하고,
Topic_Graphic/Dev 등 신규 산출물과 Topics 내부 세션/메모리 기록을 동기화.
This commit is contained in:
Antigravity Agent
2026-07-05 00:10:59 +09:00
parent a397bc4720
commit 1cfd3bbb56
1495 changed files with 68534 additions and 27 deletions
@@ -0,0 +1,65 @@
---
id: php-arrays-functions
title: "PHP Arrays Functions"
category: "Programming_Language"
status: "draft"
verification_status: "conceptual"
canonical_id: ""
aliases: ["array function reference", "PHP 배열 함수 목록"]
duplicate_of: ""
source_trust_level: "B"
confidence_score: 0.85
created_at: 2026-07-04
updated_at: 2026-07-04
review_reason: ""
merge_history: []
tags: ["php", "programming", "w3schools", "arrays", "functions", "reference"]
raw_sources: ["https://www.w3schools.com/php/php_arrays_functions.asp"]
applied_in: []
github_commit: ""
---
# [[PHP Arrays Functions]]
## 🎯 한 줄 통찰 (One-line insight)
This chapter is a single comprehensive index of ~80 built-in array functions, revealing that PHP has dedicated functions for operations most languages leave to manual loops — `array_intersect()`, `array_diff()`, `array_flip()`, `array_product()`, and `array_walk()` each replace what would otherwise be several lines of loop logic with one function call. [S1]
## 🧠 핵심 개념 (Core concepts)
- **Comparison functions** — `array_diff()`/`array_intersect()` families (with `_assoc`, `_key`, `_uassoc`, `_ukey` variants) compare arrays by value, key, or both, with optional custom comparison callbacks. [S1]
- **Transformation functions** — `array_map()` (apply a function to every value), `array_filter()` (keep values matching a callback), `array_walk()` (apply a function in place), `array_flip()` (swap keys and values). [S1]
- **Aggregation functions** — `array_sum()`, `array_product()`, `array_count_values()`. [S1]
- **Structural functions** — `array_chunk()`, `array_slice()`, `array_splice()`, `array_pad()`, `array_reverse()`, `array_unique()`. [S1]
- **Lookup functions** — `in_array()`, `array_key_exists()`, `array_search()`. [S1]
- **Pointer functions** — `current()`, `next()`, `prev()`, `reset()`, `end()`, `key()` — manage an array's internal cursor. [S1]
- **`each()`** — deprecated since PHP 7.2. [S1]
- **`sizeof()`** — alias of `count()`. [S1]
## 📖 세부 내용 (Details)
이 챕터는 함수명+한 줄 설명으로 구성된 레퍼런스 표이며, 개별 함수의 상세 사용법은 W3Schools의 별도 PHP Array Reference에서 다룬다. [S1]
## ⚖️ 모순 및 업데이트 (Contradictions & updates)
소스에서 모순되는 정보는 발견되지 않음.
## 🛠️ 적용 사례 (Applied in summary)
현재 발견된 실제 적용 사례가 없습니다 — array_map()으로 배열의 모든 값에 함수를 일괄 적용하는 것이 함수형 배열 처리의 대표 패턴이다. [S1]
## 💻 코드 패턴 (Code patterns)
해당 챕터는 함수 목록 레퍼런스이며 별도 코드 예제 없음 — Superglobals 섹션으로 이어짐.
## ✅ 검증 상태 및 신뢰도
- **상태:** draft
- **검증 단계:** conceptual
- **출처 신뢰도:** B (W3Schools — widely used educational reference, not a primary standards body)
- **신뢰 점수:** 0.85
- **중복 검사 결과:** 신규 생성 (New discovery)
## 🔗 지식 그래프 (Knowledge Graph)
- **상위/루트:** [[PHP Tutorial]]
- **관련 개념:** [[PHP Arrays Sort]], [[PHP Arrays Multidimensional]], [[PHP Superglobals]]
- **참조 맥락:** 배열 섹션의 최종 레퍼런스 — Superglobals 섹션으로 이어짐.
## 📚 출처 (Sources)
- [S1] W3Schools — PHP Array Functions — https://www.w3schools.com/php/php_arrays_functions.asp
## 📝 변경 이력 (Change history)
- 2026-07-04: Initial draft synthesized from the W3Schools "PHP Array Functions" page (Astra wiki-curation, P-Reinforce v3.1 format).