* And never try to change the state of exceptions and never implement anything
* that gives the user anything to accomplish this.
*/
+static
+ZEND_BEGIN_ARG_INFO(arginfo_exception___construct, 0)
+ ZEND_ARG_INFO(0, message)
+ ZEND_ARG_INFO(0, code)
+ZEND_END_ARG_INFO();
+
static zend_function_entry default_exception_functions[] = {
ZEND_ME(exception, __clone, NULL, ZEND_ACC_PRIVATE|ZEND_ACC_FINAL)
- ZEND_ME(exception, __construct, NULL, 0)
+ ZEND_ME(exception, __construct, arginfo_exception___construct, ZEND_ACC_PUBLIC)
ZEND_ME(exception, getMessage, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
ZEND_ME(exception, getCode, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
ZEND_ME(exception, getFile, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)