PHP 8.3+

PHP 8 Tutorial & Reference

Types, functions, objects, superglobals, passwords, and PDO prepared statements.

Clear
Popular:

Tag filter: #http Remove

PHP 8.3+ Learning Path

Follow the PHP 8 Curriculum

Read the guides in order from fundamentals to production patterns, or jump to your current skill level.

Showing 7 of 73 guides

PHP 8 Intermediate

json_encode, json_decode, and JSON_THROW_ON_ERROR

How do I return and parse JSON in PHP without silent failures?

HTTP & Files 9 min
PHP 8 Intermediate

PHP Sessions for a Signed-In User

How do I store a user id in $_SESSION safely?

HTTP & Files 8 min
PHP 8 Intermediate

filter_var for Email and Integers

How do I validate an email and an integer with filter_var?

HTTP & Files 7 min
PHP 8 Intermediate

PHP Headers and Output

How do I send a status and a redirect before any HTML?

HTTP & Files 6 min
PHP 8 Beginner

Read $_GET values

How do I read query string data?

Forms 1 min
PHP 8 Beginner

Redirect with header Location

How do I send the browser to another page?

Basics 1 min
PHP 8 Beginner

Detect GET vs POST in PHP

How do I know which HTTP method was used?

Forms 1 min

Need more coins?

You do not have enough coins for this action.

Your balance: 0 coins

Share

Reactions

Loading reactions…