mirror of
https://github.com/php/doc-es.git
synced 2026-03-23 23:12:09 +01:00
114 lines
3.3 KiB
XML
114 lines
3.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: e14fdcab82e89bfb4ee221b1de9f4764c93abcf5 Maintainer: PhilDaiguille Status: ready -->
|
|
<!-- Reviewed: no -->
|
|
<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="ffi.setup">
|
|
&reftitle.setup;
|
|
|
|
<section xml:id="ffi.requirements">
|
|
&reftitle.required;
|
|
<simpara>
|
|
Esta extensión requiere que la <link xlink:href="&url.libffi;">biblioteca libffi</link>
|
|
esté instalada.
|
|
</simpara>
|
|
</section>
|
|
|
|
<!-- {{{ Installation -->
|
|
&reference.ffi.configure;
|
|
<!-- }}} -->
|
|
|
|
<section xml:id="ffi.configuration">
|
|
&reftitle.runtime;
|
|
&extension.runtime;
|
|
<para>
|
|
<table>
|
|
<title>FFI &ConfigureOptions;</title>
|
|
<tgroup cols="4">
|
|
<thead>
|
|
<row>
|
|
<entry>&Name;</entry>
|
|
<entry>&Default;</entry>
|
|
<entry>&Changeable;</entry>
|
|
<entry>&Changelog;</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row>
|
|
<entry><link linkend="ini.ffi.enable">ffi.enable</link></entry>
|
|
<entry>"preload"</entry>
|
|
<entry><constant>INI_SYSTEM</constant></entry>
|
|
<entry/>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.ffi.preload">ffi.preload</link></entry>
|
|
<entry>""</entry>
|
|
<entry><constant>INI_SYSTEM</constant></entry>
|
|
<entry/>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
&ini.php.constants;
|
|
</para>
|
|
|
|
&ini.descriptions.title;
|
|
|
|
<variablelist>
|
|
<varlistentry xml:id="ini.ffi.enable">
|
|
<term>
|
|
<parameter>ffi.enable</parameter>
|
|
<type>string</type>
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Permite activar (<literal>"true"</literal>) o desactivar
|
|
(<literal>"false"</literal>) el uso de la API FFI, o restringirlo únicamente
|
|
a la interfaz CLI SAPI y a los ficheros pre-cargados (<literal>"preload"</literal>).
|
|
</simpara>
|
|
<simpara>
|
|
Las restricciones de la API FFI afectan solo a la clase <classname>FFI</classname>,
|
|
pero no a las funciones sobrecargadas de los objetos <classname>FFI\CData</classname>.
|
|
Esto significa que es posible crear ciertos objetos <classname>FFI\CData</classname>
|
|
en ficheros pre-cargados y luego utilizarlos directamente en scripts PHP.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="ini.ffi.preload">
|
|
<term>
|
|
<parameter>ffi.preload</parameter>
|
|
<type>string</type>
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Permite la pre-carga de las ligaduras FFI al inicio, lo cual no es posible con <methodname>FFI::load</methodname>
|
|
si <link linkend="ini.opcache.preload-user">opcache.preload_user</link> está definido.
|
|
Esta directiva acepta una lista de nombres de ficheros delimitada por <constant>DIRECTORY_SEPARATOR</constant>.
|
|
Las ligaduras pre-cargadas son accesibles llamando a <methodname>FFI::scope</methodname>.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</section>
|
|
|
|
</chapter>
|
|
<!-- 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
|
|
-->
|