it is still such an interesting twist of fate how some things work out in life. I remember back when I was #PHP 5.3 RM we had a discussion which bigger feature we can still include. It was between namespaces and traits.

We chose namespaces after deciding on the blackslash, which landed me my first personal hate mail and Slashdot name references. interfaces turned out to become a major feature that I would argue also led to a way more robust component landscape ..

edit: s/interfaces/namespaces

@lsmith wait we didn't have interface until 5.3? How do I not remember that!!! 😱🤯
@wyri forgetting about the darker times in life is very healthy for us :)

@lsmith @wyri your memory is slightly off, Interfaces were in 5.0.0 with the new object model https://github.com/php/php-src/blob/php-5.0.0/Zend/zend_language_parser.y#L122

I know we kicked/blocked short array syntax quite late, which I regretted later.

php-src/Zend/zend_language_parser.y at php-5.0.0 · php/php-src

The PHP Interpreter. Contribute to php/php-src development by creating an account on GitHub.

GitHub
@johannes @wyri ah. of course I got namespaces and interfaces mixed up! thx for the correction
@johannes @wyri I edited the original messages with a note.