"Closures in constant expressions" #PHP RFC was accepted and implemented, so in the next non-patch version (8.5 / 9.0) it will be possible to assign closures as a default values for class properties or function arguments. WDYT ๐ค? wiki.php.net/rfc/closures... 3v4l.org/8bLVZ/rfc#vg...
3 likes 1 replies
?