| modification, are permitted provided that the conditions mentioned |
| in the accompanying LICENSE file are met. |
+--------------------------------------------------------------------+
- | Copyright (c) 2004-2007, Michael Wallner <mike@php.net> |
+ | Copyright (c) 2004-2010, Michael Wallner <mike@php.net> |
+--------------------------------------------------------------------+
*/
}
#if PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 3
Z_ADDREF_P(old_exception);
- zend_exception_set_previous(new_exception, old_exception);
+ zend_exception_set_previous(new_exception, old_exception TSRMLS_CC);
#endif
zval_ptr_dtor(&old_exception);
return new_exception;