PHP 7.2 Documentation
Table of Contents
Copyright
PHP Manual
- Preface
Getting Started
- Introduction
- A simple tutorial
Installation and Configuration
- General Installation Considerations
- Installation on Unix systems
- Installation on macOS
- Installation on Windows systems
- Installation on Cloud Computing platforms
- FastCGI Process Manager (FPM)
- Installation of PECL extensions
- Problems?
- Runtime Configuration
Language Reference
- Basic syntax
- Types
- Variables
- Constants
- Expressions
- Operators
- Control Structures
- Functions
- Classes and Objects
- Namespaces
- Errors
- Exceptions
- Generators
- References Explained
- Predefined Variables
- Predefined Exceptions
- Predefined Interfaces and Classes
- 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
- Using Register Globals
- User Submitted Data
- Magic Quotes
- 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
- Safe Mode
- Command line usage — Using PHP from the command line
- Garbage Collection
- DTrace Dynamic Tracing
Function Reference
- Affecting PHP's Behaviour
- Audio Formats Manipulation
- Authentication Services
- Command Line Specific Extensions
- Compression and Archive Extensions
- Credit Card Processing
- 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
PHP at the Core: A Hacker's Guide
- Preface
- Memory management
- Working with Variables
- Writing Functions
- Writing Classes
- Working with Resources
- Working with INI settings
- Working with streams
- The "counter" Extension - A Continuing Example
- The PHP 5 build system
- Extension structure
- PDO Driver How-To
- Extension FAQs
- Zend Engine 2 API reference
- Zend Engine 2 Opcodes
- Zend Engine 1
FAQ — FAQ: Frequently Asked Questions
- General Information
- Mailing lists
- Obtaining PHP
- Database issues
- Installation
- Build Problems
- Using PHP
- Password Hashing — Safe Password Hashing
- PHP and HTML
- PHP and COM
- Miscellaneous Questions
Appendices
- History of PHP and Related Projects
- Migrating from PHP 7.2.x to PHP 7.3.x
- Migrating from PHP 7.1.x to PHP 7.2.x
- Migrating from PHP 7.0.x to PHP 7.1.x
- Migrating from PHP 5.6.x to PHP 7.0.x
- Migrating from PHP 5.5.x to PHP 5.6.x
- Migrating from PHP 5.4.x to PHP 5.5.x
- Migrating from PHP 5.3.x to PHP 5.4.x
- Migrating from PHP 5.2.x to PHP 5.3.x
- Migrating from PHP 5.1.x to PHP 5.2.x
- Migrating from PHP 5.0.x to PHP 5.1.x
- Migrating from PHP 4 to PHP 5.0.x
- Debugging in PHP
- Configure options
- php.ini directives
- Extension List/Categorization
- List of Function Aliases
- List of Reserved Words
- List of Resource Types
- List of Available Filters
- List of Supported Socket Transports
- PHP type comparison tables
- List of Parser Tokens
- Userland Naming Guide
- About the manual
- Creative Commons Attribution 3.0
- Index listing
- Changelog
PHP 7.2 เอกสาร
สารบัญ
ลิขสิทธิ์
คู่มือ PHP
- คำนำ
เริ่มต้นใช้งาน
- บทนำ
- การกวดวิชาง่ายๆ
การติดตั้งและการกำหนดค่า
- ข้อควรพิจารณาในการติดตั้งทั่วไป
- การติดตั้งบนระบบ Unix
- การติดตั้งบน macOS
- การติดตั้งบนระบบ Windows
- การติดตั้งบนแพลตฟอร์ม Cloud Computing
- ตัวจัดการกระบวนการ FastCGI (FPM)
- การติดตั้งส่วนขยาย PECL
- ปัญหา?
- การกำหนดค่ารันไทม์
การอ้างอิงภาษา
- ไวยากรณ์พื้นฐาน
- ประเภท
- ตัวแปร
- ค่าคงที่
- นิพจน์
- ผู้ดำเนินการ
- โครงสร้างควบคุม
- ฟังก์ชั่น
- ชั้นเรียนและวัตถุ
- Namespaces
- ข้อผิดพลาด
- ข้อยกเว้น
- เครื่องกำเนิดไฟฟ้า
- การอ้างอิงอธิบาย
- ตัวแปรที่กำหนดไว้ล่วงหน้า
- ข้อยกเว้นที่กำหนดไว้ล่วงหน้า
- อินเทอร์เฟซและคลาสที่กำหนดไว้ล่วงหน้า
- ตัวเลือกบริบทและพารามิเตอร์
โปรโตคอลและเครื่องห่อหุ้มที่สนับสนุน
ความปลอดภัย
- บทนำ
- การพิจารณาทั่วไป
- ติดตั้งเป็นไบนารี CGI
- ติดตั้งเป็นโมดูล Apache
- การรักษาความปลอดภัยของเซสชัน
- ความปลอดภัยของระบบแฟ้ม
- การรักษาความปลอดภัยฐานข้อมูล
- รายงานข้อผิดพลาด
- ใช้ Globals ลงทะเบียน
- ข้อมูลที่ส่งโดยผู้ใช้
- คำคมวิเศษ
- ซ่อน PHP
- การรักษาปัจจุบัน
คุณสมบัติ
- การตรวจสอบสิทธิ์ HTTP กับ PHP
- คุ้กกี้
- เซสชัน
- การจัดการกับ XForms
- จัดการการอัปโหลดไฟล์
- ใช้ไฟล์จากระยะไกล
- การจัดการการเชื่อมต่อ
- การเชื่อมต่อฐานข้อมูลแบบต่อเนื่อง
- โหมดปลอดภัย
- การใช้บรรทัดคำสั่ง - การใช้ PHP จากบรรทัดคำสั่ง
- การรวบรวมขยะ
- DTrace Dynamic Tracing
การอ้างอิงฟังก์ชัน
- มีผลต่อพฤติกรรมของ PHP
- การจัดการรูปแบบเสียง
- บริการรับรองความถูกต้อง
- นามสกุลเฉพาะของบรรทัดคำสั่ง
- ส่วนขยายการบีบอัดและการเก็บถาวร
- การประมวลผลบัตรเครดิต
- นามสกุลการเข้ารหัส
- นามสกุลฐานข้อมูล
- วันที่และเวลาส่วนขยายที่เกี่ยวข้อง
- ส่วนขยายที่เกี่ยวข้องกับระบบไฟล์
- ภาษามนุษย์และการสนับสนุนการเข้ารหัสตัวอักษร
- การประมวลผลและสร้างภาพ
- ส่วนขยายที่เกี่ยวข้องกับจดหมาย
- ส่วนขยายทางคณิตศาสตร์
- เอาท์พุท MIME ที่ไม่ใช่ข้อความ
- ส่วนขยายการควบคุมกระบวนการ
- ส่วนต่อขยายพื้นฐานอื่น ๆ
- บริการอื่น ๆ
- ส่วนขยายของ Search Engine
- ส่วนขยายเฉพาะของเซิร์ฟเวอร์
- ส่วนขยายของเซสชัน
- การประมวลผลข้อความ
- ส่วนขยายที่เกี่ยวข้องกับตัวแปรและประเภท
- บริการเว็บ
- ส่วนขยายของ Windows เท่านั้น
- การจัดการ XML
- นามสกุล GUI
PHP ที่ Core: คู่มือแฮ็กเกอร์
- คำนำ
- การจัดการหน่วยความจำ
- การทำงานกับตัวแปร
- การเขียนฟังก์ชัน
- ชั้นเรียนการเขียน
- การทำงานกับทรัพยากร
- การทำงานกับการตั้งค่า INI
- การทำงานกับสตรีม
- ส่วนขยาย "เคาน์เตอร์" - ตัวอย่างต่อเนื่อง
- ระบบสร้าง PHP 5
- โครงสร้างส่วนขยาย
- ไดร์เวอร์ PDO How-To
- ส่วนขยายคำถามที่พบบ่อย
- การอ้างอิง Zend Engine 2 API
- Zend Engine 2 Opcodes
- Zend Engine 1
FAQ - คำถามที่พบบ่อย: คำถามที่พบบ่อย
- ข้อมูลทั่วไป
- รายชื่อผู้รับจดหมาย
- การรับ PHP
- ปัญหาเกี่ยวกับฐานข้อมูล
- การติดตั้ง
- สร้างปัญหา
- ใช้ PHP
- แฮะรหัสผ่าน - แฮ็กแฮงเอาท์รหัสผ่านที่ปลอดภัย
- PHP และ HTML
- PHP และ COM
- คำถามอื่น ๆ
ภาคผนวก
ประวัติความเป็นมาของ PHP และโครงการที่เกี่ยวข้อง
- โยกย้ายจาก PHP 7.2.x เป็น PHP 7.3.x
- โยกย้ายจาก PHP 7.1.x เป็น PHP 7.2.x
- โยกย้ายจาก PHP 7.0.x เป็น PHP 7.1.x
- โยกย้ายจาก PHP 5.6.x เป็น PHP 7.0.x
- โยกย้ายจาก PHP 5.5.x เป็น PHP 5.6.x
- โยกย้ายจาก PHP 5.4.x เป็น PHP 5.5.x
- การโยกย้ายจาก PHP 5.3.x to PHP 5.4.x
- โยกย้ายจาก PHP 5.2.x เป็น PHP 5.3.x
- โยกย้ายจาก PHP 5.1.x เป็น PHP 5.2.x
- โยกย้ายจาก PHP 5.0.x เป็น PHP 5.1.x
- โยกย้ายจาก PHP 4 ไปเป็น PHP 5.0.x
- ดีบักใน PHP
- กำหนดค่าตัวเลือก
- คำสั่ง php.ini
- ส่วนขยาย / หมวดหมู่
- รายการชื่อแทน
- รายการคำสงวน
- รายการประเภททรัพยากร
- รายการตัวกรองที่พร้อมใช้งาน
- รายการการขนส่งที่รองรับซ็อกเก็ต
- ตารางเปรียบเทียบประเภท PHP
- รายชื่อ Parser Tokens
- คู่มือการตั้งชื่อ Userland
- เกี่ยวกับคู่มือ
- ครีเอทีฟคอมมอนส์ 3.0
- รายการดัชนี
- การเปลี่ยนแปลง