Saif Eddin Gmati
Saif Eddin Gmati
I think there should be 2 functions. [here](https://cloud.void.tn/c/36?version=4.114.0), the actual type is `Regex\Pattern string, 'language' => string)>`, but the type to use in user-land is `Regex\Pattern string, ...)>` so we...
The code sample your provided will fail in PHP, as that is not the intention of PHP multi-catch, PHPs multi-catch will catch only exceptions from the `try` block, but never...
Thanks for the reply @fredemmott, I am fully aware that adding union is not straightforward and we should take time to discuss the points you made and maybe other possibilities,...
note : some cases should not be handled at runtime, such as : ``` interface A {} final class B implements A {} type foo = A|B; // type check...
update : HHVM 4.26.0 > an experimental new syntax was added for union types (Cat | Dog) and intersection types (FourLegged & Mammal) – this is an early experimental prototype...
> likelyhood of widespread use of union types leading to performance problems without a clear way to address them. has any other language suffered from this? PHP introduced union recently...
> This is a significant problem for Flow, which shares a lot with Hack, and is a smaller amount of code (at FB) If this effects FB code itself, i...
while early hint is currently no supported by the ecosystem ( servers mostly ), it is supported by browsers, and unlike HTTP2/push, there's no plans to remove it. from the...
A client hub package already exist ( symfony/mercure ), it's maintained by @dunglas and me ( and some other contributors ). I will make sure it's compatible personally.
I think @dunglas is more qualified to answer that, as i don't work on the go lib.