reference appendices
Function Aliases
PHP retains aliases for some functions. Existing code may use them, but new code should prefer the canonical name so searching, documentation lookup, and team conventions stay predictable.
Use This Reference When
- Encountering an unfamiliar built-in function.
- Modernising legacy code.
- Reviewing whether two names really provide identical behaviour.
Check the alias list before replacing a function mechanically. Some similarly named APIs are not aliases and have meaningful behavioural differences.
Practice
Normalise an Alias
Find one function alias in the official list and record its preferred canonical name. Explain why a codebase might standardise on one spelling.
Show solution
Use the alias table from the manual. Standardisation makes searching and review easier while preserving behaviour.