Search questions…
⌘
K
English
Tiếng Việt
日本語
한국어
Español
العربية
বাংলা
čeština
Dansk
Deutsch
Ελληνικά
Suomi
Français
Gaeilge
ગુજરાતી
Hausa
हिन्दी
Hrvatski
Magyar
Bahasa Indonesia
Italiano
Basa Jawa
ქართული
Lietuvių
मराठी
Melayu
Malti
नेपाली
Nederlands
Norsk
ਪੰਜਾਬੀ
Polski
Português
Română
Русский
Slovenščina
Shqip
Svenska
Kiswahili
தமிழ்
తెలుగు
ภาษาไทย
Türkçe
اردو
简体中文
flow
Home
Topics
Categories
Learning paths
Search
Home
/
Backend
/
PHP
Backend
PHP
Curated PHP interview questions with detailed answers.
30
questions
updated weekly
Junior
10
Middle
12
Senior
8
PHP questions
24 / 30 shown
Default
Popular
Newest
›
What is PHP and where is it used?
Junior
#Language
#Php
Details →
›
What are PHP's variable types?
Junior
#Language
#Php
Details →
›
How do arrays work in PHP?
Junior
#Data Structures
#Php
Details →
›
How do you define functions with types and defaults?
Junior
#Functions
#Php
Details →
›
How do you work with strings in PHP?
Junior
#Language
#Php
Details →
›
What are PHP superglobals?
Junior
#Language
#Php
Details →
›
What control-flow constructs does PHP have?
Junior
#Language
#Php
Details →
›
How do classes and objects work in PHP?
Junior
#Oop
#Php
Details →
›
What is the difference between include and require?
Junior
#Language
#Php
Details →
›
What are the error/exception types in PHP?
Junior
#Error Handling
#Php
Details →
›
How do inheritance, abstract classes and interfaces work?
Middle
#Oop
#Php
Details →
›
What are traits and when do you use them?
Middle
#Oop
#Php
Details →
›
How do namespaces work in PHP?
Middle
#Language
#Php
Details →
›
What is Composer and how does autoloading work?
Middle
#Tooling
#Php
Details →
›
How do type declarations and strict types work?
Middle
#Language
#Php
Details →
›
How do you handle exceptions properly?
Middle
#Error Handling
#Php
Details →
›
What are PHP magic methods?
Middle
#Oop
#Php
Details →
›
How do sessions and cookies work in PHP?
Middle
#Security
#Php
Details →
›
How does dependency injection work in modern PHP?
Senior
#Architecture
#Php
Details →
›
What major features did PHP 8.x add?
Senior
#Language
#Php
Details →
›
What are closures and callables in PHP?
Middle
#Functions
#Php
Details →
›
How do enums work in PHP 8.1+?
Middle
#Oop
#Php
Details →
›
What is late static binding (static:: vs self::)?
Middle
#Oop
#Php
Details →
›
What are PSR standards and why do they matter?
Senior
#Architecture
#Php
Details →