I have not been doing PHP in a long time, and so I am writing this here as a memo to self, in order to remind me what features are “new” in PHP, with “new” meaning 7.0 and newer. Features PHP versionCategoryFeature 7.0Typingdeclare(strict_types=1) directive 7.0TypingScalar type declarations 7.0TypingReturn type declarations 7.0OperatorsNull coalescing operator (??) 7.0ClassesAnonymous classes 7.0ErrorsThrowable and Error hierarchy 7.1TypingIterable pseudo-type 7.1TypingNullable types ...