PHP (tag)

PHP functions filectime() fileatime() filemtime()

Explanation of PHP functions filectime(), fileatime(), and filemtime() and their differences in managing file timestamps.

30 Unexpected Things in PHP

A guide to 30 surprising and non-obvious behaviors and pitfalls in PHP.

Constants in PHP — const and define()

Understanding the difference between declaring PHP constants using the const keyword and the define() function, and the features and limitations of each method.

PHP code style in WordPress — standards

WordPress PHP coding standards covering formatting, syntax, safety, and naming rules.

PHP 5.3 - 8.5 — Syntax, What's New

A guide to PHP syntax changes across versions 5.3 through 8.5, highlighting what’s possible in each version and when polyfills or legacy syntax are needed.