#- Thanks for the hint Steph.
/* Helper function used to store the latest found warnings and errors while
* parsing, from either strtotime or parse_from_format. */
-static void update_errors_warnings(timelib_error_container *last_errors)
+static void update_errors_warnings(timelib_error_container *last_errors TSRMLS_DC)
{
if (DATEG(last_errors)) {
timelib_error_container_dtor(DATEG(last_errors));
}
// update last errors and warnings
- update_errors_warnings(err);
+ update_errors_warnings(err TSRMLS_CC);
if (timezone_object) {
php_timezone_obj *tzobj;