![]() |
1
7
我查看了PHP 5.3的Sqlite扩展的源代码,特别是Sqlite.c,我知道它抛出了一个异常并找到了 通过sqlite- https://github.com/php/php-src/blob/PHP-5.3/ext/sqlite/sqlite.c#L46
在zend_exceptions.h中,似乎可以通过调用
如本文所述 https://github.com/php/php-src/blob/PHP-5.3/Zend/zend_exceptions.h#L43 Sqlite3扩展使用它的方式如下:
在这里,我推断zend_exception_get_default()获得对RuntimeException的引用/句柄,第二个参数是异常消息,并且所有其他工作都被委托。 |
![]() |
MaPo · Linux,设置锁定ICMP_过滤器选项 6 月前 |
![]() |
Doohyeon Won · 内联函数上的奇怪现象?[关闭] 7 月前 |
![]() |
Bobby · 复合字面值总是左值吗? 7 月前 |
![]() |
9-Pin · C: 嵌套结构的堆栈内存分配 7 月前 |