8" :class="scrolled && 'is-scrolled'">
NOA
Labs
Tutorials
Courses
Skill Forge
Explore
Labs
Hands-on live sessions
Mentors
Meet the senior engineers
Projects
Real portfolio-ready builds
Talent Directory
Public student profiles
Mock Interview
Practice with real feedback
ATS Resume Checker
Free instant resume scoring
Search docs
Ctrl K
Login
Join Free
Artificial Intelligence
LangChain
LLMs
Machine Learning
Prompt Engineering
RAG (Retrieval-Augmented Generation)
AJAX
GraphQL
Apache Kafka
Microservices
Node.js
RabbitMQ
REST API
WebSockets
Algorithms
Data Structures
Angular
Bootstrap
CSS
HTML
jQuery
Next.js
Nuxt.js
React
Svelte
Tailwind CSS
Vue.js
ASP.NET Core
Django
.NET
Entity Framework Core
FastAPI
Flask
Gin
gRPC
Hibernate
Laravel
NestJS
Spring
Spring Boot
Spring Cloud
Spring Data JPA
Spring MVC
Spring Security
AWS
Azure
CI/CD
Docker
Git
Kubernetes
Linux
Nginx
Terraform
C
C++
C#
Dart
Go
Java
JavaScript
Kotlin
PHP
Python
Ruby
Rust
Swift
TypeScript
Database Design
MongoDB
MySQL
Oracle Database
PostgreSQL
Redis
SQL
System Design
↑↓ navigate
↵ open
esc close
Tutorials
/
PHP
PHP menu
PHP Tutorial
The language behind most of the web — syntax, arrays, OOP and modern PHP 8 features.
Start the PHP tutorial →
What you'll learn
1. PHP Introduction
What PHP is, why it still powers a huge share of the web, installing it, and your first script.
2. PHP Syntax & Variables
Variables, types, string interpolation, indexed and associative arrays, control flow, and the match expression.
3. Functions & OOP in PHP
Typed functions, classes, constructor property promotion, interfaces, and traits.
4. Modern PHP
Namespaces, Composer/PSR-4 autoloading, enums, readonly properties, attributes, and the nullsafe operator.
5. Error Handling and Exceptions
try/catch/finally, catching multiple exception types, custom exception classes, and building an exception hierarchy.
6. Composer and Packages in Depth
Semantic versioning, the anatomy of composer.json, classmap/files autoloading, and publishing your own reusable package.
7. Testing with PHPUnit
Writing test classes, assertions, setUp/tearDown, and mocking a dependency with createMock.
8. PHP Interview Questions
Commonly asked PHP interview questions on == vs ===, traits vs interfaces, and PSR-4 autoloading.