Sophie

Sophie

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

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>Constructor that disallows instantiation</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="class.closure.html">Closure</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="closure.bind.html">Closure::bind</a></div>
 <div class="up"><a href="class.closure.html">Closure</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="closure.construct" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Closure::__construct</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.3.0)</p><p class="refpurpose"><span class="refname">Closure::__construct</span> &mdash; <span class="dc-title">Constructor that disallows instantiation</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-closure.construct-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">private</span>  <span class="methodname"><strong>Closure::__construct</strong></span>
    ( <span class="methodparam">void</span>
   )</div>

  <p class="para rdfs-comment">
    This method exists only to disallow instantiation of the
    <a href="class.closure.html" class="classname">Closure</a> class. Objects of this class are created
    in the fashion described on the
    <a href="functions.anonymous.html" class="link">anonymous functions</a> page.
  </p>

 </div>


 <div class="refsect1 parameters" id="refsect1-closure.construct-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">This function has no parameters.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-closure.construct-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   This method has no return value; it simply emits an error
   (of type <strong><code>E_RECOVERABLE_ERROR</code></strong>).
  </p>
 </div>



 <div class="refsect1 seealso" id="refsect1-closure.construct-seealso">
  <h3 class="title">See Also</h3>
  <ul class="simplelist">
   <li class="member">
    <a href="functions.anonymous.html" class="link">Anonymous functions</a>
   </li>
  </ul>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="class.closure.html">Closure</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="closure.bind.html">Closure::bind</a></div>
 <div class="up"><a href="class.closure.html">Closure</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>