MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/3v4l98/php_7_released/cxkixkq/?context=3
r/programming • u/fnkrx • Dec 02 '15
729 comments sorted by
View all comments
Show parent comments
21
http://lxr.php.net/xref/PHP_7_0/ext/zlib/zlib.c#1098
int success = deflateSetDictionary(ctx, (Bytef *) dict, dictlen); ZEND_ASSERT(success == Z_OK);
It looks pretty used to me?
43 u/shamanas Dec 02 '15 ZEND_ASSERT is probably a macro that outputs nothing in a release build. 8 u/[deleted] Dec 02 '15 Are we sure that's a good idea? 12 u/shamanas Dec 02 '15 This is pretty standard in C and C++, just make sure not to include any side effects in your assertion condition :) → More replies (4)
43
ZEND_ASSERT is probably a macro that outputs nothing in a release build.
8 u/[deleted] Dec 02 '15 Are we sure that's a good idea? 12 u/shamanas Dec 02 '15 This is pretty standard in C and C++, just make sure not to include any side effects in your assertion condition :) → More replies (4)
8
Are we sure that's a good idea?
12 u/shamanas Dec 02 '15 This is pretty standard in C and C++, just make sure not to include any side effects in your assertion condition :) → More replies (4)
12
This is pretty standard in C and C++, just make sure not to include any side effects in your assertion condition :)
→ More replies (4)
21
u/Hazasoul Dec 02 '15
It looks pretty used to me?