Quick Answer
PSR (PHP Standards Recommendations) are community standards for PHP interoperability. PSR-1 (basic coding standard), PSR-4 (autoloading), PSR-7 (HTTP message interface), PSR-11 (container interface), PSR-12 (coding style), PSR-15 (middleware), PSR-16 (simple cache). Following PSRs makes your code compatible with any PSR-compliant library or framework. Published by PHP-FIG.
Answer
PSR standards define coding rules and interfaces for interoperability, including PSR-1, PSR-12, PSR-4, and PSR-7.
S
SugharaIQ Editorial Team
Verified Answer
This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.
PHP interview questions and answers for beginner, junior, mid-level, senior, and expert developers. Ideal for freshers and experienced candidates preparing for PHP roles.