On Sat, Feb 14, 2015 at 12:26:08PM +0000, Andrea Faulds wrote: > We could do this, but for the longest time we've made all functions have some > return value, even ones which don't explicitly return one (they return NULL). > I think it'd be better not to change this. I expect IDEs and such could earn > you about it, though.
All *existing* functions have a return value. That would not change. If someone makes one of their functions void then where they use it could not be where a value is needed. So: expect it in new code; but in 5 years time that code will be mature. -- Alain Williams Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 http://www.phcomp.co.uk/ Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php #include <std_disclaimer.h> -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php