PSR-1: Basic Coding Standards
17 September 2025 (Updated 17 September 2025)
PSR-1 defines basic coding standards.
Example standards include:
- PHP code must use the
<?php ?>
tags - PHP code must use only UTF-8 without BOM.
- Constants must be declared in all uppercase with underscore separators.
Tagged:
PHP