While writing and looking at some PHP extension's source code I noticed that some use a LONG type flag to parse a boolean parameter:
bool new_map_embed;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &new_map_embed) == FAILURE) {
RETURN_FALSE;
}
Why is that? Why not using the b
flag instead?