<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.reflectionclass.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ja',
  ),
  'this' => 
  array (
    0 => 'reflectionclass.newinstancewithoutconstructor.php',
    1 => 'ReflectionClass::newInstanceWithoutConstructor',
    2 => 'コンストラクタを起動せずに新しいクラスのインスタンスを作成する',
  ),
  'up' => 
  array (
    0 => 'class.reflectionclass.php',
    1 => 'ReflectionClass',
  ),
  'prev' => 
  array (
    0 => 'reflectionclass.newinstanceargs.php',
    1 => 'ReflectionClass::newInstanceArgs',
  ),
  'next' => 
  array (
    0 => 'reflectionclass.newlazyghost.php',
    1 => 'ReflectionClass::newLazyGhost',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ja',
    'path' => 'reference/reflection/reflectionclass/newinstancewithoutconstructor.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="reflectionclass.newinstancewithoutconstructor" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ReflectionClass::newInstanceWithoutConstructor</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.4.0, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">ReflectionClass::newInstanceWithoutConstructor</span> &mdash; <span class="dc-title">コンストラクタを起動せずに新しいクラスのインスタンスを作成する</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-reflectionclass.newinstancewithoutconstructor-description">
  <h3 class="title">説明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>ReflectionClass::newInstanceWithoutConstructor</strong></span>(): <span class="type"><a href="language.types.object.php" class="type object">object</a></span></div>

  <p class="para rdfs-comment">
   クラスの新しいインスタンスを、そのクラスのコンストラクタを実行せずに作成します。
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-reflectionclass.newinstancewithoutconstructor-parameters">
  <h3 class="title">パラメータ</h3>
  <p class="para">
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-reflectionclass.newinstancewithoutconstructor-returnvalues">
  <h3 class="title">戻り値</h3>
  <p class="para">
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-reflectionclass.newinstancewithoutconstructor-errors">
  <h3 class="title">エラー / 例外</h3>
  <p class="para">
   そのクラスが内部クラスであり、コンストラクタを実行せずにインスタンスを作成することができなかった場合に
   <span class="classname"><a href="class.reflectionexception.php" class="classname">ReflectionException</a></span> が発生します。
   この例外が発生するのは、
   <a href="language.oop5.final.php" class="link">final</a> な内部クラスに限られます。
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-reflectionclass.newinstancewithoutconstructor-seealso">
  <h3 class="title">参考</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="methodname"><a href="reflectionclass.newinstance.php" class="methodname" rel="rdfs-seeAlso">ReflectionClass::newInstance()</a> - 指定した引数でクラスの新しいインスタンスを作成する</span></li>
    <li><span class="methodname"><a href="reflectionclass.newinstanceargs.php" class="methodname" rel="rdfs-seeAlso">ReflectionClass::newInstanceArgs()</a> - 指定した引数でクラスの新しいインスタンスを作成する</span></li>
   </ul>
  </p>
 </div>

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