Useful Links
Computer Science
Programming
By Language
PHP Programming
1. Introduction to PHP
2. PHP Language Fundamentals
3. Functions
4. Working with Data Structures
5. Handling Web Forms and User Input
6. Object-Oriented Programming in PHP
7. Interacting with Databases
8. State and Session Management
9. Working with Files and Data Formats
10. Error Handling and Debugging
11. Security Best Practices
12. Modern PHP Development
13. Advanced PHP Topics
Object-Oriented Programming in PHP
Core OOP Concepts
Classes and Objects
Class Definition
Object Instantiation
Object Identity
Properties
Property Declaration
Property Initialization
Property Access
Methods
Method Definition
Method Invocation
Method Overloading
Encapsulation Principles
The $this Keyword
Accessing Properties
Calling Methods
Method Chaining
Constructors and Destructors
__construct() Method
Constructor Parameters
Constructor Overloading
Constructor Promotion
__destruct() Method
Cleanup Operations
Resource Management
Access Modifiers
public Visibility
protected Visibility
private Visibility
Visibility Rules
Property and Method Visibility
Inheritance
extends Keyword
Parent-Child Relationships
Method Overriding
parent Keyword
final Keyword
Final Classes
Final Methods
Inheritance Hierarchies
Abstraction
Abstract Classes
Abstract Class Declaration
Abstract Method Definition
Abstract Methods
Implementation Requirements
Abstract vs Concrete Methods
Interfaces
Interface Definition
implements Keyword
Interface Contracts
Multiple Interface Implementation
Interface Inheritance
Polymorphism
Method Polymorphism
Interface Polymorphism
Type Polymorphism
Static Properties and Methods
Static Declaration
Static Access
self Keyword
static Keyword
Late Static Binding
Traits
Trait Definition
Trait Usage
Trait Methods
Conflict Resolution
insteadof Operator
as Operator
Trait Composition
Namespaces
Namespace Declaration
Namespace Organization
use Keyword
Class Importing
Function Importing
Constant Importing
Namespace Aliases
Global Namespace
Name Resolution
Autoloading Classes
spl_autoload_register()
PSR-4 Autoloading
Composer Autoloader
Custom Autoloaders
Magic Methods
__get()
__set()
__isset()
__unset()
__call()
__callStatic()
__toString()
__invoke()
__clone()
__sleep()
__wakeup()
__serialize()
__unserialize()
__debugInfo()
Previous
5. Handling Web Forms and User Input
Go to top
Next
7. Interacting with Databases