Am 08.11.20 um 18:09 schrieb Eugene Sidelnyk:
Hello, internals!

What do you think about creating shorthand `number` for `int|float`?

nothing because:

a) float accepts int anyways
b) overloading the engine for each and every nuance is not helpful
c) union types are clear and readable

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to