rfc:php8

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
rfc:php8 [2018/08/11 18:35] – Add bug #75958 carusogabrielrfc:php8 [2018/08/12 00:16] (current) – Embrace functions and method in #75958 carusogabriel
Line 15: Line 15:
   * Extend ''instanceof'' to work with non-classes and add new functions for checking type and subtype relationships  e.g. ''($int instanceof int)'' ''is_type_of(1, 'int')'' ''is_subtype_of('array', 'iterable')''.   * Extend ''instanceof'' to work with non-classes and add new functions for checking type and subtype relationships  e.g. ''($int instanceof int)'' ''is_type_of(1, 'int')'' ''is_subtype_of('array', 'iterable')''.
   * Unify class and abstract type error behaviors when method incompatibilities exists; see https://3v4l.org/hamQi   * Unify class and abstract type error behaviors when method incompatibilities exists; see https://3v4l.org/hamQi
-  * Remove always ''true'' return when isn't helpful for some SPL methods; see [[https://bugs.php.net/bug.php?id=75958|#75958]].+  * Remove always ''true'' return when isn't helpful for some functions and methods; see [[https://bugs.php.net/bug.php?id=75958|#75958]].
  
 Here are some feature ideas: Here are some feature ideas:
rfc/php8.1534012544.txt.gz · Last modified: 2018/08/11 18:35 by carusogabriel