mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
273731fb76
We also change `Generator::throw()` to expect a `Throwable` in the first place, and we now throw a TypeError instead of returning `false` from `Exception::getTraceAsString()`.
56 lines
2.1 KiB
C
56 lines
2.1 KiB
C
/* This is a generated file, edit the .stub.php file instead. */
|
|
|
|
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Throwable_getMessage, 0, 0, 0)
|
|
ZEND_END_ARG_INFO()
|
|
|
|
#define arginfo_class_Throwable_getCode arginfo_class_Throwable_getMessage
|
|
|
|
#define arginfo_class_Throwable_getFile arginfo_class_Throwable_getMessage
|
|
|
|
#define arginfo_class_Throwable_getLine arginfo_class_Throwable_getMessage
|
|
|
|
#define arginfo_class_Throwable_getTrace arginfo_class_Throwable_getMessage
|
|
|
|
#define arginfo_class_Throwable_getPrevious arginfo_class_Throwable_getMessage
|
|
|
|
#define arginfo_class_Throwable_getTraceAsString arginfo_class_Throwable_getMessage
|
|
|
|
#define arginfo_class_Throwable___toString arginfo_class_Throwable_getMessage
|
|
|
|
#define arginfo_class_Exception___clone arginfo_class_Throwable_getMessage
|
|
|
|
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Exception___construct, 0, 0, 0)
|
|
ZEND_ARG_TYPE_INFO(0, message, IS_STRING, 0)
|
|
ZEND_ARG_TYPE_INFO(0, code, IS_LONG, 0)
|
|
ZEND_ARG_OBJ_INFO(0, previous, Throwable, 1)
|
|
ZEND_END_ARG_INFO()
|
|
|
|
#define arginfo_class_Exception___wakeup arginfo_class_Throwable_getMessage
|
|
|
|
#define arginfo_class_Exception_getMessage arginfo_class_Throwable_getMessage
|
|
|
|
#define arginfo_class_Exception_getCode arginfo_class_Throwable_getMessage
|
|
|
|
#define arginfo_class_Exception_getFile arginfo_class_Throwable_getMessage
|
|
|
|
#define arginfo_class_Exception_getLine arginfo_class_Throwable_getMessage
|
|
|
|
#define arginfo_class_Exception_getTrace arginfo_class_Throwable_getMessage
|
|
|
|
#define arginfo_class_Exception_getPrevious arginfo_class_Throwable_getMessage
|
|
|
|
#define arginfo_class_Exception_getTraceAsString arginfo_class_Throwable_getMessage
|
|
|
|
#define arginfo_class_Exception___toString arginfo_class_Throwable_getMessage
|
|
|
|
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ErrorException___construct, 0, 0, 0)
|
|
ZEND_ARG_TYPE_INFO(0, message, IS_STRING, 0)
|
|
ZEND_ARG_TYPE_INFO(0, code, IS_LONG, 0)
|
|
ZEND_ARG_TYPE_INFO(0, severity, IS_LONG, 0)
|
|
ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
|
|
ZEND_ARG_TYPE_INFO(0, lineno, IS_LONG, 0)
|
|
ZEND_ARG_OBJ_INFO(0, previous, Throwable, 1)
|
|
ZEND_END_ARG_INFO()
|
|
|
|
#define arginfo_class_ErrorException_getSeverity arginfo_class_Throwable_getMessage
|