1
0
mirror of https://github.com/php/doc-zh.git synced 2026-03-25 23:52:17 +01:00
Files
2023-06-17 23:25:32 +08:00

68 lines
1.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: ca840c9a6d665e60a7de48b57a5b6440c0d3b0c1 Maintainer: benson zhai Status: ready -->
<!-- CREDITS: mowangjuanzi -->
<refentry xml:id="reflectionextension.ispersistent" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>ReflectionExtension::isPersistent</refname>
<refpurpose>返回扩展是否持久化的</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis role="ReflectionExtension">
<modifier>public</modifier> <type>bool</type><methodname>ReflectionExtension::isPersistent</methodname>
<void/>
</methodsynopsis>
<para>
检测扩展是否为持久化的。
</para>
<para>
当使用 &php.ini; 加载时,则扩展是持久化的。当使用 <function>dl</function> 加载扩展时,扩展是临时的,而不是持久化的。
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
扩展在 <link linkend="ini.extension"><literal>extension</literal></link> 配置中被载入返回 &true;,否则返回 &false;
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><methodname>ReflectionExtension::isTemporary</methodname></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
-->