mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315808 c90b9560-bf6c-de11-be94-00142212c4b1
115 lines
2.7 KiB
XML
115 lines
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
|
|
<refentry xml:id="reflectionextension.info" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
<refnamediv>
|
|
<refname>ReflectionExtension::info</refname>
|
|
<refpurpose>Print extension info</refpurpose>
|
|
</refnamediv>
|
|
|
|
<refsect1 role="description">
|
|
&reftitle.description;
|
|
<methodsynopsis>
|
|
<modifier>public</modifier> <type>void</type><methodname>ReflectionExtension::info</methodname>
|
|
<void />
|
|
</methodsynopsis>
|
|
<para>
|
|
Prints out the "<function>phpinfo</function>" snippet
|
|
for the given extension.
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="parameters">
|
|
&reftitle.parameters;
|
|
&no.function.parameters;
|
|
</refsect1>
|
|
|
|
<refsect1 role="returnvalues">
|
|
&reftitle.returnvalues;
|
|
<para>
|
|
Information about the extension.
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="examples">
|
|
&reftitle.examples;
|
|
<para>
|
|
<example>
|
|
<title><methodname>ReflectionExtension::info</methodname> example</title>
|
|
<programlisting role="php">
|
|
<![CDATA[
|
|
<?php
|
|
$ext = new ReflectionExtension('mysqli');
|
|
$ext->info();
|
|
?>
|
|
]]>
|
|
</programlisting>
|
|
&example.outputs.similar;
|
|
<screen>
|
|
<![CDATA[
|
|
mysqli
|
|
|
|
MysqlI Support => enabled
|
|
Client API library version => mysqlnd 5.0.5-dev - 081106 - $Revision$
|
|
Active Persistent Links => 0
|
|
Inactive Persistent Links => 0
|
|
Active Links => 0
|
|
Persistent cache => enabled
|
|
put_hits => 0
|
|
put_misses => 0
|
|
get_hits => 0
|
|
get_misses => 0
|
|
size => 2000
|
|
free_items => 2000
|
|
references => 2
|
|
|
|
Directive => Local Value => Master Value
|
|
mysqli.max_links => Unlimited => Unlimited
|
|
mysqli.max_persistent => Unlimited => Unlimited
|
|
mysqli.allow_persistent => On => On
|
|
mysqli.default_host => no value => no value
|
|
mysqli.default_user => no value => no value
|
|
mysqli.default_pw => no value => no value
|
|
mysqli.default_port => 3306 => 3306
|
|
mysqli.default_socket => no value => no value
|
|
mysqli.reconnect => Off => Off
|
|
mysqli.allow_local_infile => On => On
|
|
mysqli.cache_size => 2000 => 2000
|
|
]]>
|
|
</screen>
|
|
</example>
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="seealso">
|
|
&reftitle.seealso;
|
|
<para>
|
|
<simplelist>
|
|
<member><methodname>ReflectionExtension::getName</methodname></member>
|
|
<member><function>phpinfo</function></member>
|
|
</simplelist>
|
|
</para>
|
|
</refsect1>
|
|
|
|
</refentry>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|