is_callable returns true for disable_functions, but function_exists
return false for it.
. Fixed bug #69203 (FILTER_FLAG_STRIP_HIGH doesn't strip ASCII 127). (Jeff
Welch)
+- Opcache:
+ . Fixed bug #69297 (function_exists strange behavior with OPCache on
+ disabled function). (Laruence)
+
- OpenSSL
. Fixed bugs #68853, #65137 (Buffered crypto stream data breaks IO polling
in stream_select() contexts) (Chris Wright)
func->type == ZEND_INTERNAL_FUNCTION &&
func->module->type == MODULE_PERSISTENT) {
zval t;
- ZVAL_BOOL(&t, 1);
+ if (Z_STRLEN(ZEND_OP1_LITERAL(opline)) == sizeof("is_callable") - 1 ||
+ func->handler != ZEND_FN(display_disabled_function)) {
+ ZVAL_BOOL(&t, 1);
+ } else {
+ ZVAL_BOOL(&t, 0);
+ }
if (replace_var_by_const(op_array, opline + 1, ZEND_RESULT(opline).var, &t TSRMLS_CC)) {
literal_dtor(&ZEND_OP1_LITERAL(opline - 1));
MAKE_NOP((opline - 1));