Lines Matching refs:last_errors
418 DATEG(last_errors) = NULL; in PHP_RINIT_FUNCTION()
444 if (DATEG(last_errors)) { in ZEND_MODULE_POST_ZEND_DEACTIVATE_D()
445 timelib_error_container_dtor(DATEG(last_errors)); in ZEND_MODULE_POST_ZEND_DEACTIVATE_D()
446 DATEG(last_errors) = NULL; in ZEND_MODULE_POST_ZEND_DEACTIVATE_D()
463 DATEG(last_errors) = NULL; in PHP_MINIT_FUNCTION()
473 if (DATEG(last_errors)) { in PHP_MSHUTDOWN_FUNCTION()
474 timelib_error_container_dtor(DATEG(last_errors)); in PHP_MSHUTDOWN_FUNCTION()
2327 static void update_errors_warnings(timelib_error_container **last_errors) /* {{{ */ in update_errors_warnings() argument
2329 if (DATEG(last_errors)) { in update_errors_warnings()
2330 timelib_error_container_dtor(DATEG(last_errors)); in update_errors_warnings()
2331 DATEG(last_errors) = NULL; in update_errors_warnings()
2334 if (last_errors == NULL || (*last_errors) == NULL) { in update_errors_warnings()
2338 if ((*last_errors)->warning_count || (*last_errors)->error_count) { in update_errors_warnings()
2339 DATEG(last_errors) = *last_errors; in update_errors_warnings()
2343 timelib_error_container_dtor(*last_errors); in update_errors_warnings()
2344 *last_errors = NULL; in update_errors_warnings()
3085 if (DATEG(last_errors)) { in PHP_FUNCTION()
3087 zval_from_error_container(return_value, DATEG(last_errors)); in PHP_FUNCTION()