--- id: php-oop-what-is title: "PHP OOP What Is" category: "Programming_Language" status: "draft" verification_status: "conceptual" canonical_id: "" aliases: ["object-oriented programming", "PHP OOP κ°œμš”"] 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", "oop"] raw_sources: ["https://www.w3schools.com/php/php_oop_what_is.asp"] applied_in: [] github_commit: "" --- # [[PHP OOP What Is]] ## 🎯 ν•œ 쀄 톡찰 (One-line insight) PHP's OOP overview names five pillars up front (Classes/Objects, Encapsulation, Inheritance, Abstraction, Interfaces) as a package deal β€” the same five-concept structure the tutorial follows chapter by chapter, meaning "learning PHP OOP" is explicitly scoped as these five specific mechanisms, not an open-ended topic. [S1] ## 🧠 핡심 κ°œλ… (Core concepts) - **OOP** β€” organizing code into classes/objects with properties and methods, vs. procedural's sequential step-by-step execution. [S1] - **Advantages** β€” clear structure, DRY-friendly maintainability, reusable applications with less code. [S1] - **Class** β€” a template for objects. [S1] - **Object** β€” an individual instance of a class; inherits properties/methods but has its own property values. [S1] - **Five OOP pillars in this tutorial** β€” Classes/Objects, Encapsulation (access modifiers), Inheritance, Abstraction (non-instantiable base classes), Interfaces (method contracts). [S1] ## πŸ“– μ„ΈλΆ€ λ‚΄μš© (Details) - Fruit β†’ Apple/Banana/Mango, Car β†’ Volvo/Audi/Toyota illustrate class-vs-objects (same illustration used in Java's OOP intro). [S1] ## βš–οΈ λͺ¨μˆœ 및 μ—…λ°μ΄νŠΈ (Contradictions & updates) μ†ŒμŠ€μ—μ„œ λͺ¨μˆœλ˜λŠ” μ •λ³΄λŠ” λ°œκ²¬λ˜μ§€ μ•ŠμŒ. ## πŸ› οΈ 적용 사둀 (Applied in summary) ν˜„μž¬ 발견된 μ‹€μ œ 적용 사둀가 μ—†μŠ΅λ‹ˆλ‹€ β€” OOP 5λŒ€ κ°œλ…(클래슀/μΊ‘μŠν™”/상속/좔상화/μΈν„°νŽ˜μ΄μŠ€)의 κ°œλ…μ  λ„μž…λΆ€λ‹€. [S1] ## πŸ’» μ½”λ“œ νŒ¨ν„΄ (Code patterns) ν•΄λ‹Ή μ±•ν„°λŠ” κ°œλ… μ†Œκ°œ μ€‘μ‹¬μœΌλ‘œ 별도 μ½”λ“œ μ˜ˆμ œκ°€ μ—†μŒ β€” λ‹€μŒ 챕터([[PHP OOP Classes Objects]])μ—μ„œ μ‹€μ œ 클래슀 μ„ μ–Έ 문법이 μ‹œμž‘λœλ‹€. ## βœ… 검증 μƒνƒœ 및 신뒰도 - **μƒνƒœ:** draft - **검증 단계:** conceptual - **좜처 신뒰도:** B (W3Schools β€” widely used educational reference, not a primary standards body) - **μ‹ λ’° 점수:** 0.88 - **쀑볡 검사 κ²°κ³Ό:** μ‹ κ·œ 생성 (New discovery) ## πŸ”— 지식 κ·Έλž˜ν”„ (Knowledge Graph) - **μƒμœ„/루트:** [[PHP Tutorial]] - **κ΄€λ ¨ κ°œλ…:** [[PHP OOP Classes Objects]], [[PHP OOP Inheritance]], [[Java OOP]] - **μ°Έμ‘° λ§₯락:** PHP OOP μ„Ήμ…˜ μ „μ²΄μ˜ κ°œλ…μ  λ„μž…λΆ€ β€” 클래슀/객체 λ¬Έλ²•μœΌλ‘œ 이어짐. ## πŸ“š 좜처 (Sources) - [S1] W3Schools β€” PHP Object-Oriented Programming β€” https://www.w3schools.com/php/php_oop_what_is.asp ## πŸ“ λ³€κ²½ 이λ ₯ (Change history) - 2026-07-04: Initial draft synthesized from the W3Schools "PHP Object-Oriented Programming" page (Astra wiki-curation, P-Reinforce v3.1 format).