]> granicus.if.org Git - php/commitdiff
MFH parameter description
authorMarcus Boerger <helly@php.net>
Mon, 27 Sep 2004 22:28:19 +0000 (22:28 +0000)
committerMarcus Boerger <helly@php.net>
Mon, 27 Sep 2004 22:28:19 +0000 (22:28 +0000)
Zend/zend_exceptions.c

index ff0f31370067cdfe747c790436579ad27c2d265a..9c01a79abd4ea6541610dc050b15567418c7981d 100644 (file)
@@ -427,9 +427,15 @@ ZEND_METHOD(exception, __toString)
  * 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)