rfc:deprecate_partially_supported_callables

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
rfc:deprecate_partially_supported_callables [2021/09/02 13:03] – created nikicrfc:deprecate_partially_supported_callables [2021/10/22 08:15] (current) nikic
Line 2: Line 2:
   * Date: 2021-09-02   * Date: 2021-09-02
   * Author: Nikita Popov <nikic@php.net>   * Author: Nikita Popov <nikic@php.net>
-  * Status: Draft+  * Status: Implemented
   * Target Version: PHP 8.2   * Target Version: PHP 8.2
   * Implementation: https://github.com/php/php-src/pull/7446   * Implementation: https://github.com/php/php-src/pull/7446
Line 28: Line 28:
  
 The ''is_callable()'' function and ''callable'' type remain side-effect free and do not throw a deprecation warning. They will continue to accept these callables until support is removed entirely. The ''is_callable()'' function and ''callable'' type remain side-effect free and do not throw a deprecation warning. They will continue to accept these callables until support is removed entirely.
 +
 +Normal ''%%"function"%%'', ''%%"Foo::method"%%'', ''%%["Foo", "method"]%%'' and ''%%[new Foo, "method"]%%'' style callables are unaffected by this change.
  
 ===== Discussion ===== ===== Discussion =====
Line 82: Line 84:
 ===== Vote ===== ===== Vote =====
  
-Yes/No+Voting opened on 2021-10-08 and closed on 2021-10-22. 
 + 
 +<doodle title="Deprecate partially supported callables?" auth="nikic" voteType="single" closed="true">  
 +   Yes 
 +   No 
 +</doodle>
rfc/deprecate_partially_supported_callables.txt · Last modified: 2021/10/22 08:15 by nikic