current community
chat
Stack Overflow
Meta Stack Overflow
your communities
Sign up
or
log in
to customize your list.
more stack exchange communities
company blog
Stack Exchange
Inbox
Reputation and Badges
sign up
log in
tour
help
Tour
Start here for a quick overview of the site
Help Center
Detailed answers to any questions you might have
Meta
Discuss the workings and policies of this site
About Us
Learn more about Stack Overflow the company
Business
Learn more about hiring developers or posting ads with us
Stack Overflow
Questions
Jobs
Documentation
Tags
Users
Badges
Ask Question
PHP
dashboard
all topics
Popular
Topic
You must
sign up
or
log in
to make a topic request.
109 Topics
7
requests
active
popular
Getting started with PHP
Introduction Topic
91
HTML output from web server
58
Hello, World!
5 more examples
1 improvement request
0 proposed changes
edited
Jan 4 at 8:21
+13
Outputting the Value of a Variable
All Versions
290
echo and print
57
Outputting a structured view of arrays and objects
2 more examples
0 improvement requests
0 proposed changes
edited
Jan 16 at 18:14
+13
JSON
All Versions
97
Decoding a JSON string
67
Encoding a JSON string
3 more examples
0 improvement requests
0 proposed changes
edited
Jan 22 at 7:27
+49
PDO
PHP 5.x
5.0–5.6
PHP 7.x
7.0–7.1
53
Preventing SQL injection with Parameterized Queries
24
Basic PDO Connection and Retrieval
4 more examples
0 improvement requests
0 proposed changes
edited
yesterday
+8
Classes and Objects
All Versions
35
Method Chaining in PHP
14
Class Constants
12 more examples
0 improvement requests
0 proposed changes
edited
yesterday
+41
Operators
All Versions
24
Null Coalescing Operator (??)
14
Spaceship Operator (<=>)
13 more examples
0 improvement requests
0 proposed changes
edited
yesterday
+25
Traits
PHP 5.x
5.4–5.6
PHP 7.x
7.0–7.1
39
Traits to facilitate horizontal code reuse
17
Conflict Resolution
5 more examples
0 improvement requests
0 proposed changes
edited
Jan 17 at 13:11
+13
Arrays
All Versions
40
Initializing an Array
11
Check if key exists
4 more examples
0 improvement requests
0 proposed changes
edited
Jan 4 at 8:21
+60
Variables
All Versions
31
Accessing A Variable Dynamically By Name (Variable variables)
21
Data Types
3 more examples
0 improvement requests
0 proposed changes
edited
Nov 28 '16 at 13:57
+80
Loops
All Versions
11
continue
9
break
4 more examples
0 improvement requests
0 proposed changes
edited
Jan 4 at 8:21
+9
PHP MySQLi
All Versions
11
Close connection
9
MySQLi connect
7 more examples
0 improvement requests
0 proposed changes
edited
Jan 26 at 9:18
+17
Contributing to the PHP Manual
All Versions
34
Improve the official documentation
5
Tips for contributing to the manual
0 improvement requests
0 proposed changes
edited
Dec 28 '16 at 4:34
Composer Program
All Versions
15
Autoloading with Composer
10
What is Composer?
4 more examples
1 improvement request
0 proposed changes
edited
Jan 4 at 8:21
+23
Security
All Versions
11
Cross-Site Scripting (XSS)
11
PHP Version Leakage
6 more examples
0 improvement requests
0 proposed changes
edited
Dec 28 '16 at 4:59
+20
Cookies
All Versions
10
Modifying a Cookie
8
Checking if a Cookie is Set
3 more examples
0 improvement requests
0 proposed changes
edited
Jan 4 at 8:21
+9
Types
All Versions
17
Type Comparison
7
Boolean
8 more examples
0 improvement requests
0 proposed changes
edited
Dec 20 '16 at 20:00
+21
Dependency Injection
All Versions
17
Constructor Injection
8
Setter Injection
1 more example
0 improvement requests
0 proposed changes
edited
Dec 22 '16 at 7:01
+6
Command Line Interface (CLI)
All Versions
8
Argument Handling
8
Handling Program Options
7 more examples
0 improvement requests
0 proposed changes
edited
Nov 20 '16 at 21:04
+5
Functional Programming
All Versions
8
Closures
5
Assignment to variables
8 more examples
0 improvement requests
0 proposed changes
edited
Dec 28 '16 at 21:21
+15
Password Hashing Functions
All Versions
13
Creating a password hash
6
Determine if an existing password hash can be upgraded to a stronger algorithm
1 more example
0 improvement requests
0 proposed changes
edited
Jan 4 at 8:21
+12
1
2
3
4
5
6
next
Introduction Topic
Getting started with PHP
HTML output from web server
Hello, World!
Non-HTML output from web server
Instruction Separation
PHP CLI
PHP built-in server
PHP Tags
Stack Overflow works best with JavaScript enabled