On Tue, Jun 15, 2021, at 10:59 PM, Mike Schinkel wrote:
> > On Jun 15, 2021, at 6:53 AM, Nikita Popov <nikita....@gmail.com> wrote:
> > 
> > As we're moving closer to feature freeze, I'd like to close down this RFC
> > to further additions, and move towards voting.
> > 
> > Feedback on the proposed deprecations is appreciated. Personally, the two
> > I'm unsure about are "get_class(), get_parent_class() and
> > get_called_class() without argument" which are mostly stylistic in nature,
> > and "strftime() and gmtstrftime()", where the non-portability issues are
> > possibly not so bad that a disruption of existing users is worthwhile.
> 
> I just opened one client project and searched and found 52 usages for 
> get_called_class(), no usages for the other two.  Just one project.
> 
> This was a WordPress project which means many plugins from any 
> different developers.
> 
> Would deprecating get_called_class() w/o a parameter be important 
> enough to cause so much BC breakage?
> 
> -Mike

TYPO3 data points:

get_called_class(): Used once, in TYPO's enumeration class.  (Which likely will 
die in v12 because we'll have real enumerations, I hope.)
get_class(): Used about a dozen times in Doctrine, but not in TYPO3 itself.
get_parent_class(): Used once in Codeception, the acceptance testing framework
strftime(): Unused
gmtstrftime(): Unused

--Larry Garfield

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to