Re: [Early Feedback] Pattern matching
| From: | Eugene Sidelnyk | Date: | Thu, 20 Jun 2024 17:56:26 +0000 |
| Subject: | Re: [Early Feedback] Pattern matching | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-123703@lists.php.net to get a copy of this message | ||
You won't believe it, but just right now I've been thinking about that it
would be a wonderful feature for PHP to have some kind of type-tests (like
$a is Foo&Bar or $b is Foo|Baz|null), and here you write out this
email.
I didn't read the whole RFC, but I'd like to say that having at least
aforementioned type tests would be really helpful
Thank you for your effort and have a nice day!