mirror of
https://github.com/php/doc-fr.git
synced 2026-03-24 07:02:06 +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: jpauli 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> est identique à
|
|
<function>include</function>
|
|
mis à part le fait que lorsqu'une erreur survient, il produit également
|
|
une exception <classname>Error</classname> (erreur de niveau <constant>E_COMPILE_ERROR</constant>
|
|
avant PHP 8.0.0), tandis que <function>include</function> ne produira qu'un avertissement
|
|
(erreur de niveau <constant>E_WARNING</constant>).
|
|
</para>
|
|
<para>
|
|
Voir la documentation de l'instruction
|
|
<function>include</function>
|
|
pour en connaître le fonctionnement.
|
|
</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
|
|
-->
|