Sophie

Sophie

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

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>Print extension info</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="reflectionextension.getversion.html">ReflectionExtension::getVersion</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="reflectionextension.ispersistent.html">ReflectionExtension::isPersistent</a></div>
 <div class="up"><a href="class.reflectionextension.html">ReflectionExtension</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="reflectionextension.info" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ReflectionExtension::info</h1>
  <p class="verinfo">(PHP 5)</p><p class="refpurpose"><span class="refname">ReflectionExtension::info</span> &mdash; <span class="dc-title">Print extension info</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-reflectionextension.info-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type"><span class="type void">void</span></span> <span class="methodname"><strong>ReflectionExtension::info</strong></span>
    ( <span class="methodparam">void</span>
   )</div>

  <p class="para rdfs-comment">
   Prints out the &quot; <span class="function"><a href="function.phpinfo.html" class="function">phpinfo()</a></span>&quot; snippet
   for the given extension.
  </p>
 </div>


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


 <div class="refsect1 returnvalues" id="refsect1-reflectionextension.info-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Information about the extension.
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-reflectionextension.info-examples">
  <h3 class="title">Examples</h3>
  <p class="para">
   <div class="example" id="example-5222">
    <p><strong>Example #1  <span class="methodname"><strong>ReflectionExtension::info()</strong></span> example</strong></p>
    <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br />$ext&nbsp;</span><span style="color: #007700">=&nbsp;new&nbsp;</span><span style="color: #0000BB">ReflectionExtension</span><span style="color: #007700">(</span><span style="color: #DD0000">'mysqli'</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$ext</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">info</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">?&gt;</span>
</span>
</code></div>
    </div>

    <div class="example-contents"><p>The above example will output
something similar to:</p></div>
    <div class="example-contents screen">
<div class="cdata"><pre>
mysqli

MysqlI Support =&gt; enabled
Client API library version =&gt; mysqlnd 5.0.5-dev - 081106 - $Revision: 315808 $
Active Persistent Links =&gt; 0
Inactive Persistent Links =&gt; 0
Active Links =&gt; 0
Persistent cache =&gt; enabled
put_hits =&gt; 0
put_misses =&gt; 0
get_hits =&gt; 0
get_misses =&gt; 0
size =&gt; 2000
free_items =&gt; 2000
references =&gt; 2

Directive =&gt; Local Value =&gt; Master Value
mysqli.max_links =&gt; Unlimited =&gt; Unlimited
mysqli.max_persistent =&gt; Unlimited =&gt; Unlimited
mysqli.allow_persistent =&gt; On =&gt; On
mysqli.default_host =&gt; no value =&gt; no value
mysqli.default_user =&gt; no value =&gt; no value
mysqli.default_pw =&gt; no value =&gt; no value
mysqli.default_port =&gt; 3306 =&gt; 3306
mysqli.default_socket =&gt; no value =&gt; no value
mysqli.reconnect =&gt; Off =&gt; Off
mysqli.allow_local_infile =&gt; On =&gt; On
mysqli.cache_size =&gt; 2000 =&gt; 2000
</pre></div>
    </div>
   </div>
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-reflectionextension.info-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"> <span class="methodname"><a href="reflectionextension.getname.html" class="methodname" rel="rdfs-seeAlso">ReflectionExtension::getName()</a> - Gets extension name</span></li>
    <li class="member"> <span class="function"><a href="function.phpinfo.html" class="function" rel="rdfs-seeAlso">phpinfo()</a> - Outputs information about PHP's configuration</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="reflectionextension.getversion.html">ReflectionExtension::getVersion</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="reflectionextension.ispersistent.html">ReflectionExtension::isPersistent</a></div>
 <div class="up"><a href="class.reflectionextension.html">ReflectionExtension</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>