Files
php-doc-ru/appendices/examples.xml
Mikhail Alferov 2fe4237add Update bce2cb8 to En (#1104)
* Create examples.xml

* Update dio-tcsetattr.xml to en

* Update enchant-broker-request-dict.xml to en

* Update enchant-dict-add.xml to en

* Update enchant-dict-describe.xml to en

* Update enchant-dict-suggest.xml to en

* Update fromdatetime.xml to en

* Update format.xml to en

* Update get-error-code.xml to en

* Update constants.xml to en

* Update constants.xml исправил XML-ошибку

* Update language-snippets.ent Исправил формулировку

* Update constants.xml Исправил XML-ошибку

* Update constants.xml Исправил XML-ошибку
2025-08-29 06:55:44 +03:00

40 lines
1.7 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: bce2cb849721c70737eb32ce958131e22677770c Maintainer: malferov Status: ready -->
<!-- Reviewed: no -->
<appendix xml:id="examples" xmlns="http://docbook.org/ns/docbook">
<title>О примерах руководства</title>
<simpara>
В примерах PHP-документации обработка ошибок и исключений часто опускается
для ясности и краткости.
</simpara>
<simpara>
В производственном же коде ошибки лучше обрабатывать,
иначе выбрасываются ошибки <exceptionname>TypeError</exceptionname>,
возникают ошибки, которые связаны с неявным приведением типов наподобие преобразования значения &false; в пустую строку,
или нарушаются инварианты программы, что затрудняет отслеживание ошибок.
Отдельные модули содержат полные примеры с обработкой ошибок,
чтобы показать правильную работу с функциями и методами
модуля.
</simpara>
</appendix>
<!-- 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
-->