Function __global->header_remove

Definitions

sources_custom/phpstub.php

  • Remove a PHP header. This only works if headers have not yet been sent.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$name ?string No No Null N/A N/A The header to send (null: all)

Preview

Code (PHP)

/**
 * Remove a PHP header. This only works if headers have not yet been sent.
 *
 * @param  ?string $name The header to send (null: all)
 */

function header_remove(?string $name = null)