PHP 8.3+

PHP 8 Tutorial & Reference

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

Clear
Popular:

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 8 of 73 guides

PHP 8 Intermediate

password_hash and password_verify

How do I store a password so a database leak is not the password?

PDO & Security 8 min
PHP 8 Intermediate

PHP PDO Error Mode: Exceptions Instead of Silent Failures

How should PDO report database errors in PHP 8?

PDO & Security 9 min
PHP 8 Intermediate

PHP PDO SELECT with a Prepared Statement

How do I SELECT a row by id without concatenating SQL?

PDO & Security 8 min
PHP 8 Intermediate

PHP PDO INSERT with Prepared Statements

How do I insert a row with PHP PDO without SQL injection?

PDO & Security 9 min
PHP 8 Intermediate

PHP PDO UPDATE with a WHERE Clause

How do I update one row without changing the whole table?

PDO & Security 8 min
PHP 8 Intermediate

PHP PDO DELETE with a WHERE Clause

How do I delete one row safely with PDO?

PDO & Security 8 min
PHP 8 Advanced

PDO Transactions: beginTransaction, commit, and rollBack

How do I insert a student and an enrollment so both succeed or neither does?

PDO & Security 10 min
PHP 8 Intermediate

password_needs_rehash

How do I upgrade a stored password hash when the algorithm changes?

PDO & Security 6 min

Need more coins?

You do not have enough coins for this action.

Your balance: 0 coins

Share

Reactions

Loading reactions…