On Thu, 15 Oct 2015, Rowan Collins wrote: > Korvin Szanto wrote on 14/10/2015 23:55: > > If I capture the result of a "void" method and check if my result variable > > with isset(), I'll get false. This sounds like it's void of value to me. > > But why "invent" (as far as PHP is concerned) this new keyword of "void" to > mean exactly the same thing "null" already means - absence of a definite > value?
It's already "invented" for PHP anyway: http://docs.hhvm.com/manual/en/hack.annotations.examples.php - example 2. cheers, Derick -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php