In a discussion about image.c code i was reminded that we do not need to bother with emalloc returning NULL or array_init returning FAILURE. Unforuately there are hundreds of such cases in PHP. When removing all these parts with all the necessary checks and error messages we could reduce the code base....
Indeed there is a simple way of doing so for array_init: change those functions to be of return type void..... To make everybodys life easier i suggest we create a new configure option --enable-developer or such which simply creates a define that allows such changes. I would the like to have --enable-developer being a shortcut for --enable-debug also (zts would break some builds otherwise that also). When all developers would use this option i guess such changes could be done easily and they would not harm the normal users. marcus -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php