Re:Upcoming changes in PHP 7.1
by duskwuff on Monday May 23, 2016 @01:37PM
(#11755413)
This is completely incorrect. Java's null value is only valid as a value of an object type (e.g, Object x = null), and void functions don't return an object.
[ Parent
| on HN ]
Re:Upcoming changes in PHP 7.1
by tokenizerrr on Monday May 23, 2016 @03:36PM
(#11756278)
The compiler doesn't allow it, but if you call the function with for example reflection you get null.