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

PHP

PHP programming tutorials and interview questions

42 articles in this category
PHP Performance Tips: Write Faster PHP Code
PHP Beginner
PHP Performance Tips: Write Faster PHP Code

PHP performance — OpCache, fixing N+1 queries, APCu caching, and profiling with Xdebug.

PHP Security Essentials: Protecting Your Web Application
PHP Beginner
PHP Security Essentials: Protecting Your Web Application

Learn SQL injection, XSS, CSRF, and secure file uploads — the top PHP security threats and their defences.

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.