mirror of
https://github.com/php/doc-es.git
synced 2026-03-24 07:22:16 +01:00
46 lines
1.3 KiB
XML
46 lines
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: 30c0106d51ac2786b81b27709ca88f1daf07e716 Maintainer: PhilDaiguille Status: ready -->
|
|
<!-- Reviewed: yes -->
|
|
|
|
<sect1 xml:id="function.require" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
<title>require</title>
|
|
<?phpdoc print-version-for="require"?>
|
|
|
|
<para>
|
|
<literal>require</literal> es idéntico a
|
|
<function>include</function>
|
|
excepto por el hecho de que cuando ocurre un error, produce también
|
|
una excepción <classname>Error</classname> (error de nivel <constant>E_COMPILE_ERROR</constant>
|
|
antes de PHP 8.0.0), mientras que <function>include</function> solo producirá una advertencia
|
|
(error de nivel <constant>E_WARNING</constant>).
|
|
</para>
|
|
<para>
|
|
Consulte la documentación de la instrucción
|
|
<function>include</function>
|
|
para conocer su funcionamiento.
|
|
</para>
|
|
|
|
</sect1>
|
|
|
|
<!-- 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
|
|
-->
|