public static final function Raise400Error($y_msg) { //-- if (!headers_sent()) { http_response_code(400); } else { Smart::log_warning('Headers Already Sent before 400 ...'); } //end if else die(SmartComponents::http_message_400_badrequest(Smart::escape_html((string) $y_msg))); //-- }