PHP 8.3+

PHP 8 Tutorial & Reference

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

Clear
Popular:

Tag filter: #strings 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 4 of 73 guides

PHP 8 Beginner

PHP Strings: Concatenation, Interpolation, and Multibyte Length

How do I build and measure strings safely in PHP 8?

Language Basics 8 min
PHP 8 Intermediate

preg_match for a Slug

How do I test that a slug contains only lowercase letters and hyphens?

Language Basics 7 min
PHP 8 Beginner

PHP str_contains, str_starts_with, and str_ends_with

How do I test a string without strpos tricks?

Language Basics 6 min
PHP 8 Intermediate

mb_substr for Multibyte Titles

How do I shorten a title without splitting a character?

Language Basics 6 min

Need more coins?

You do not have enough coins for this action.

Your balance: 0 coins

Share

Reactions

Loading reactions…