A PHP internals mailing list thread where Holly Schilling proposes adding class extensions to PHP, inspired by Swift's extension syntax, implemented in a 2-phase approach. Michael Morris questions the value of the feature, arguing that PHP's existing inheritance and traits already cover what Swift-style extensions provide.

1m read timeFrom externals.io
Post cover image
201 Impressions