public function handle_parsing_errors( $errno, $errstr, $errfile ) {
		if ( ! ( \error_reporting() & $errno ) ) { // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.runtime_configuration_error_reporting,WordPress.PHP.DevelopmentFunctions.prevent_path_disclosure_error_reporting
			return true; // not interesting.
		}

		// Ignore warnings from parser & let PHP handle the rest.
		return $errno & E_USER_WARNING && 0 === \substr_compare( $errfile, 'DOMTreeBuilder.php', -18 );
	}
public function handle_parsing_errors( $errno, $errstr, $errfile ) {
		if ( ! ( \error_reporting() & $errno ) ) { // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.runtime_configuration_error_reporting,WordPress.PHP.DevelopmentFunctions.prevent_path_disclosure_error_reporting
			return true; // not interesting.
		}

		// Ignore warnings from parser & let PHP handle the rest.
		return $errno & E_USER_WARNING && 0 === \substr_compare( $errfile, 'DOMTreeBuilder.php', -18 );
	}
public function handle_parsing_errors ( $ errno , $ errstr , $ errfile ) { if ( ! ( \ error_reporting ( ) & $ errno ) ) { // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.runtime_configuration_error_reporting,WordPress.PHP.DevelopmentFunctions.prevent_path_disclosure_error_reporting return true ; // not interesting. } // Ignore warnings from parser & let PHP handle the rest. return $ errno & E_USER_WARNING && 0 === \ substr_compare ( $ errfile , 'DOMTreeBuilder.php' , - 18 ) ; }
Silently handle certain HTML parsing errors.

@since 6.0.0 Unused parameters $errline and $errcontext removed.

@param int    $errno      Error number.
@param string $errstr     Error message.
@param string $errfile    The file in which the error occurred.

@return boolean Returns true if the error was handled, false otherwise.
Silently handle certain HTML parsing errors .