- phpdbg:
. Fixed bug #76801 (too many open files). (alekitto)
-
+ . Fixed bug #77800 (phpdbg segfaults on listing some conditional breakpoints).
+ (krakjoe)
+
- Reflection:
. Fixed bug #77772 (ReflectionClass::getMethods(null) doesn't work). (Nikita)
} ZEND_HASH_FOREACH_END();
}
- if (!(*str)[0]) {
+ if ((*str) && !(*str)[0]) {
*str = NULL;
}
} /* }}} */
uint32_t cops = CG(compiler_options);
zval pv;
+ switch (param->type) {
+ case STR_PARAM:
+ case NUMERIC_FUNCTION_PARAM:
+ case METHOD_PARAM:
+ case NUMERIC_METHOD_PARAM:
+ case FILE_PARAM:
+ case ADDR_PARAM:
+ /* do nothing */
+ break;
+
+ default:
+ phpdbg_error("eval", "type=\"invalidparameter\"", "Invalid parameter type for conditional breakpoint");
+ return;
+ }
+
PHPDBG_BREAK_INIT(new_break, PHPDBG_BREAK_COND);
new_break.hash = hash;