1
0
mirror of https://github.com/php/doc-pl.git synced 2026-03-25 23:52:07 +01:00
Files
Maciej Sobaczewski 756e3c51ff Sync with EN
2025-02-17 04:31:51 +01:00

42 lines
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 30c0106d51ac2786b81b27709ca88f1daf07e716 Maintainer: sobak Status: ready -->
<!-- $Revision$ -->
<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> działa identycznie jak <function>include</function>,
z tą różnicą, że w razie błędu rzuca wyjątek <classname>Error</classname>
(błąd o poziomie <constant>E_COMPILE_ERROR</constant> przed
PHP 8.0.0) podczas gdy <function>include</function> wywoła jedynie ostrzeżenie
(<constant>E_WARNING</constant>).
</para>
<para>
Zobacz dokumentację <function>include</function>, aby dowiedzieć się więcej.
</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
-->