rfc:empty_function

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
rfc:empty_function [2023/10/31 11:49] – Under Discussion alessandro.a.rosa_gmail.comrfc:empty_function [2023/10/31 16:42] (current) – Under Discussion alessandro.a.rosa_gmail.com
Line 168: Line 168:
 According to the official policies documented at https://wiki.php.net/rfc/releaseprocess, backwards compatibility can only be broken According to the official policies documented at https://wiki.php.net/rfc/releaseprocess, backwards compatibility can only be broken
 in a major version, hence the new function <php>is_empty()</php> would appear not before than version 9.0 in a major version, hence the new function <php>is_empty()</php> would appear not before than version 9.0
 +
 +The option of keeping <php>empty()</php> function together with ''is_empty()'' is fine too, so deprecation is not required: backward compatibility would be saved, though I would recommend the usage of ''is_empty()'' however.
  
 ===== RFC Impact ===== ===== RFC Impact =====
rfc/empty_function.1698752958.txt.gz · Last modified: 2023/10/31 11:49 by alessandro.a.rosa_gmail.com