@@ -257,7 +257,7 @@ PHP_METHOD(SEASCLICK_RES_NAME, __construct)
257257 clientMap.insert (std::pair<int , Client*>(key, client));
258258
259259 } catch (const std::exception& e) {
260- zend_throw_exception (NULL , e.what (), 0 TSRMLS_CC);
260+ sc_zend_throw_exception (NULL , e.what (), 0 TSRMLS_CC);
261261 }
262262
263263 RETURN_TRUE;
@@ -356,7 +356,7 @@ PHP_METHOD(SEASCLICK_RES_NAME, select)
356356 );
357357
358358 } catch (const std::exception& e) {
359- zend_throw_exception (NULL , e.what (), 0 TSRMLS_CC);
359+ sc_zend_throw_exception (NULL , e.what (), 0 TSRMLS_CC);
360360 }
361361}
362362/* }}} */
@@ -451,7 +451,7 @@ PHP_METHOD(SEASCLICK_RES_NAME, insert)
451451 sc_zval_ptr_dtor (&return_should);
452452
453453 } catch (const std::exception& e) {
454- zend_throw_exception (NULL , e.what (), 0 TSRMLS_CC);
454+ sc_zend_throw_exception (NULL , e.what (), 0 TSRMLS_CC);
455455 }
456456 RETURN_TRUE;
457457}
@@ -507,7 +507,7 @@ PHP_METHOD(SEASCLICK_RES_NAME, execute)
507507 client->Execute (sql_s);
508508
509509 } catch (const std::exception& e) {
510- zend_throw_exception (NULL , e.what (), 0 TSRMLS_CC);
510+ sc_zend_throw_exception (NULL , e.what (), 0 TSRMLS_CC);
511511 }
512512 RETURN_TRUE;
513513}
@@ -524,7 +524,7 @@ PHP_METHOD(SEASCLICK_RES_NAME, __destruct)
524524 clientMap.erase (key);
525525
526526 } catch (const std::exception& e) {
527- zend_throw_exception (NULL , e.what (), 0 TSRMLS_CC);
527+ sc_zend_throw_exception (NULL , e.what (), 0 TSRMLS_CC);
528528 }
529529 RETURN_TRUE;
530530}
0 commit comments