<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/refs.basic.other.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'book.misc.php',
    1 => 'Misc.',
    2 => 'Miscellaneous Functions',
  ),
  'up' => 
  array (
    0 => 'refs.basic.other.php',
    1 => 'Other Basic Extensions',
  ),
  'prev' => 
  array (
    0 => 'class.luasandboxtimeouterror.php',
    1 => 'LuaSandboxTimeoutError',
  ),
  'next' => 
  array (
    0 => 'misc.setup.php',
    1 => 'Installing/Configuring',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/misc/book.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/book.misc.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="book.misc" class="book">
 
 <h1 class="title">Miscellaneous Functions</h1>
 

 <div id="intro.misc" class="preface">
  <h1 class="title">Introduction</h1>
  <p class="para">
   These functions were placed here because none of the other
   categories seemed to fit.
  </p>
 </div>


 







 





 










<ul class="chunklist chunklist_book"><li><a href="misc.setup.php">Installing/Configuring</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="misc.configuration.php">Runtime Configuration</a></li></ul></li><li><a href="misc.constants.php">Predefined Constants</a></li><li><a href="ref.misc.php">Misc. Functions</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="function.connection-aborted.php">connection_aborted</a> — Check whether client disconnected</li><li><a href="function.connection-status.php">connection_status</a> — Returns connection status bitfield</li><li><a href="function.constant.php">constant</a> — Returns the value of a constant</li><li><a href="function.define.php">define</a> — Defines a named constant</li><li><a href="function.defined.php">defined</a> — Checks whether a constant with the given name exists</li><li><a href="function.die.php">die</a> — Alias of exit</li><li><a href="function.eval.php">eval</a> — Evaluate a string as PHP code</li><li><a href="function.exit.php">exit</a> — Terminate the current script with a status code or message</li><li><a href="function.get-browser.php">get_browser</a> — Tells what the user's browser is capable of</li><li><a href="function.halt-compiler.php">__halt_compiler</a> — Halts the compiler execution</li><li><a href="function.highlight-file.php">highlight_file</a> — Syntax highlighting of a file</li><li><a href="function.highlight-string.php">highlight_string</a> — Syntax highlighting of a string</li><li><a href="function.hrtime.php">hrtime</a> — Get the system's high resolution time</li><li><a href="function.ignore-user-abort.php">ignore_user_abort</a> — Set whether a client disconnect should abort script execution</li><li><a href="function.pack.php">pack</a> — Pack data into binary string</li><li><a href="function.php-strip-whitespace.php">php_strip_whitespace</a> — Return source with stripped comments and whitespace</li><li><a href="function.sapi-windows-cp-conv.php">sapi_windows_cp_conv</a> — Convert string from one codepage to another</li><li><a href="function.sapi-windows-cp-get.php">sapi_windows_cp_get</a> — Get current codepage</li><li><a href="function.sapi-windows-cp-is-utf8.php">sapi_windows_cp_is_utf8</a> — Indicates whether the codepage is UTF-8 compatible</li><li><a href="function.sapi-windows-cp-set.php">sapi_windows_cp_set</a> — Set process codepage</li><li><a href="function.sapi-windows-generate-ctrl-event.php">sapi_windows_generate_ctrl_event</a> — Send a CTRL event to another process</li><li><a href="function.sapi-windows-set-ctrl-handler.php">sapi_windows_set_ctrl_handler</a> — Set or remove a CTRL event handler</li><li><a href="function.sapi-windows-vt100-support.php">sapi_windows_vt100_support</a> — Get or set VT100 support for the specified stream associated to an output buffer of a Windows console.</li><li><a href="function.show-source.php">show_source</a> — Alias of highlight_file</li><li><a href="function.sleep.php">sleep</a> — Delay execution</li><li><a href="function.sys-getloadavg.php">sys_getloadavg</a> — Gets system load average</li><li><a href="function.time-nanosleep.php">time_nanosleep</a> — Delay for a number of seconds and nanoseconds</li><li><a href="function.time-sleep-until.php">time_sleep_until</a> — Make the script sleep until the specified time</li><li><a href="function.uniqid.php">uniqid</a> — Generate a time-based identifier</li><li><a href="function.unpack.php">unpack</a> — Unpack data from binary string</li><li><a href="function.usleep.php">usleep</a> — Delay execution in microseconds</li></ul></li><li><a href="changelog.misc.php">Changelog</a></li></ul></div><?php manual_footer($setup); ?>