<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/language.types.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'language.types.mixed.php',
    1 => 'Mixed',
    2 => 'Mixed',
  ),
  'up' => 
  array (
    0 => 'language.types.php',
    1 => '类型',
  ),
  'prev' => 
  array (
    0 => 'language.types.callable.php',
    1 => 'Callable',
  ),
  'next' => 
  array (
    0 => 'language.types.void.php',
    1 => 'Void',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'zh',
    'path' => 'language/types/mixed.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="language.types.mixed" class="sect1">
 <h2 class="title">Mixed</h2>

 <p class="para">
  <span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span> 类型接受每个值。等同于<a href="language.types.type-system.php#language.types.type-system.composite.union" class="link">联合类型</a>
  
  <code class="literal">object|resource|array|string|float|int|bool|null</code>。自 PHP 8.0.0 起可用。
 </p>

 <p class="para">
  在类型理论中，<span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span> 是顶级类型。这意味着其它所有类型都是它的子类型。
 </p>

</div><?php manual_footer($setup); ?>