> On 24 Dec 2014, at 17:22, Levi Morrison <le...@php.net> wrote: > > Hmm. This thread doesn't seem to mention it, but why must failure be > negative? I understand the non-zero part but not negative. Aside from > the fact we probably have code relying on it to be negative at this > point is there some other reason?
Hey Levi, I believe it's a convention among C APIs: 0 for success, negative for some error -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php