Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 10847

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Creates a new class instance without invoking the constructor.</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="reflectionclass.newinstanceargs.html">ReflectionClass::newInstanceArgs</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="reflectionclass.setstaticpropertyvalue.html">ReflectionClass::setStaticPropertyValue</a></div>
 <div class="up"><a href="class.reflectionclass.html">ReflectionClass</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="reflectionclass.newinstancewithoutconstructor" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ReflectionClass::newInstanceWithoutConstructor</h1>
  <p class="verinfo">(PHP &gt;= 5.4.0)</p><p class="refpurpose"><span class="refname">ReflectionClass::newInstanceWithoutConstructor</span> &mdash; <span class="dc-title">Creates a new class instance without invoking the constructor.</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-reflectionclass.newinstancewithoutconstructor-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">object</span> <span class="methodname"><strong>ReflectionClass::newInstanceWithoutConstructor</strong></span>
    ( <span class="methodparam">void</span>
   )</div>

  <p class="para rdfs-comment">
   Creates a new instance of the class without invoking the constructor.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-reflectionclass.newinstancewithoutconstructor-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-reflectionclass.newinstancewithoutconstructor-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-reflectionclass.newinstancewithoutconstructor-errors">
  <h3 class="title">Errors/Exceptions</h3>
  <p class="para">
   A <a href="class.reflectionexception.html" class="classname">ReflectionException</a> if the class is an internal
   class that cannot be instantiated without invoking the constructor.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-reflectionclass.newinstancewithoutconstructor-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"> <span class="methodname"><a href="reflectionclass.newinstance.html" class="methodname" rel="rdfs-seeAlso">ReflectionClass::newInstance()</a> - Creates a new class instance from given arguments.</span></li>
    <li class="member"> <span class="methodname"><a href="reflectionclass.newinstanceargs.html" class="methodname" rel="rdfs-seeAlso">ReflectionClass::newInstanceArgs()</a> - Creates a new class instance from given arguments.</span></li>
   </ul>
  </p>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="reflectionclass.newinstanceargs.html">ReflectionClass::newInstanceArgs</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="reflectionclass.setstaticpropertyvalue.html">ReflectionClass::setStaticPropertyValue</a></div>
 <div class="up"><a href="class.reflectionclass.html">ReflectionClass</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>