Book Description
PHP is a widely-used open source programming language. It is especially suited for web development. The unique thing about PHP is that it serves both beginners as well as experienced developers. It has a low barrier to entry so it is easy to get started with, and at the same time, it provides advanced features offered in other programming languages.
It is an unofficial and free PHP book created for educational purposes. All the content is extracted from Stack Overflow Documentation, which is written by many hardworking individuals at Stack Overflow.
This open book is licensed under a Creative Commons License (CC BY-SA). You can download Learning PHP ebook for free in PDF format (4.3 MB).
Table of Contents
Chapter 1
Getting started with PHP
Chapter 2
Alternative Syntax for Control Structures
Chapter 3
APCu
Chapter 4
Array iteration
Chapter 5
Arrays
Chapter 6
Asynchronous programming
Chapter 7
Autoloading Primer
Chapter 8
BC Math (Binary Calculator)
Chapter 9
Cache
Chapter 10
Classes and Objects
Chapter 11
Closure
Chapter 12
Coding Conventions
Chapter 13
Command Line Interface (CLI)
Chapter 14
Comments
Chapter 15
Common Errors
Chapter 16
Compilation of Errors and Warnings
Chapter 17
Compile PHP Extensions
Chapter 18
Composer Dependency Manager
Chapter 19
Constants
Chapter 20
Contributing to the PHP Core
Chapter 21
Contributing to the PHP Manual
Chapter 22
Control Structures
Chapter 23
Cookies
Chapter 24
Create PDF files in PHP
Chapter 25
Cryptography
Chapter 26
Datetime Class
Chapter 27
Debugging
Chapter 28
Dependency Injection
Chapter 29
Design Patterns
Chapter 30
Docker deployment
Chapter 31
Exception Handling and Error Reporting
Chapter 32
Executing Upon an Array
Chapter 33
File handling
Chapter 34
Filters & Filter Functions
Chapter 35
Functional Programming
Chapter 36
Functions
Chapter 37
Generators
Chapter 38
Headers Manipulation
Chapter 39
How to break down an URL
Chapter 40
How to Detect Client IP Address
Chapter 41
HTTP Authentication
Chapter 42
Image Processing with GD
Chapter 43
Imagick
Chapter 44
IMAP
Chapter 45
Installing a PHP environment on Windows
Chapter 46
Installing on Linux/Unix Environments
Chapter 47
JSON
Chapter 48
Localization
Chapter 49
Loops
Chapter 50
Machine learning
Chapter 51
Magic Constants
Chapter 52
Magic Methods
Chapter 53
Manipulating an Array
Chapter 54
mongo-php
Chapter 55
Multi Threading Extension
Chapter 56
Multiprocessing
Chapter 57
Namespaces
Chapter 58
Object Serialization
Chapter 59
Operators
Chapter 60
Output Buffering
Chapter 61
Outputting the Value of a Variable
Chapter 62
Parsing HTML
Chapter 63
Password Hashing Functions
Chapter 64
PDO
Chapter 65
Performance
Chapter 66
PHP Built in server
Chapter 67
PHP MySQLi
Chapter 68
php mysqli affected rows returns 0 when it should return a positive integer
Chapter 69
PHPDoc
Chapter 70
Processing Multiple Arrays Together
Chapter 71
PSR
Chapter 72
Reading Request Data
Chapter 73
Recipes
Chapter 74
References
Chapter 75
Reflection
Chapter 76
Regular Expressions (regexp/PCRE)
Chapter 77
Secure Remeber Me
Chapter 78
Security
Chapter 79
Sending Email
Chapter 80
Serialization
Chapter 81
Sessions
Chapter 82
SimpleXML
Chapter 83
SOAP Client
Chapter 84
SOAP Server
Chapter 85
Sockets
Chapter 86
SPL data structures
Chapter 87
SQLite3
Chapter 88
Streams
Chapter 89
String formatting
Chapter 90
String Parsing
Chapter 91
Superglobal Variables PHP
Chapter 92
Traits
Chapter 93
Type hinting
Chapter 94
Type juggling and Non-Strict Comparison Issues
Chapter 95
Types
Chapter 96
Unicode Support in PHP
Chapter 97
Unit Testing
Chapter 98
URLs
Chapter 99
Using cURL in PHP
Chapter 100
Using MongoDB
Chapter 101
Using Redis with PHP
Chapter 102
Using SQLSRV
Chapter 103
UTF-8
Chapter 104
Variable Scope
Chapter 105
Variables
Chapter 106
WebSockets
Chapter 107
Working with Dates and Time
Chapter 108
XML
Chapter 109
YAML in PHP