📡 You're offline — showing cached content
New version available!
Quick Access

PHP

PHP programming tutorials and interview questions

40 articles in this category
PHP Input Validation: Never Trust User Data
PHP Beginner
PHP Input Validation: Never Trust User Data

Learn validation vs sanitization, filter_var, custom rules, and a reusable Validator class.

PHP Magic Methods: __construct, __get, __set, __toString and More
PHP Beginner
PHP Magic Methods: __construct, __get, __set, __toString and More

Learn PHP magic methods — __construct, __destruct, __get, __set, __toString, __invoke.

PHP Static Methods and Properties Explained
PHP Beginner
PHP Static Methods and Properties Explained

Learn static methods, static properties, utility classes, and the Singleton pattern.

PHP Abstract Classes vs Interfaces: Know the Difference
PHP Beginner
PHP Abstract Classes vs Interfaces: Know the Difference

Learn abstract classes vs interfaces with real-world examples and guidelines.

PHP Arrow Functions and Closures Explained
PHP Beginner
PHP Arrow Functions and Closures Explained

Understand PHP closures, use() capture, arrow functions, and uses with array functions.

PHP Type Declarations and Strict Mode in PHP 8
PHP Beginner
PHP Type Declarations and Strict Mode in PHP 8

Learn PHP type declarations, strict_types, union types, and nullable types.