Skip to content

Files

Latest commit

 

History

History
13 lines (8 loc) · 333 Bytes

PHPCompatibility.Classes.ForbiddenAbstractPrivateMethods.md

File metadata and controls

13 lines (8 loc) · 333 Bytes

Pattern: Forbidden abstract private method

Issue: -

Description

Abstract private methods are not allowed since PHP 5.1.

Abstract private methods were supported between PHP 5.0.0 and PHP 5.0.4, but were then disallowed on the grounds that the behaviors of private and abstract are mutually exclusive.

PHP version 5.1