1
0
mirror of https://github.com/php/doc-ru.git synced 2026-03-24 15:52:13 +01:00
Files
archived-doc-ru/language/predefined/arithmeticerror.xml
Mikhail Alferov e9cc1bec3f В классах ошибок указал, что это ошибки (не исключения, не классы, а ошибки), чтобы не возникало путаницы (#1060)
* Update error.xml Назвал ошибку — ошибкой

Уточнил описание свойства `previous`: свойство содержит или ошибку, или исключение, и не обязательно «выброшенную» ошибку или «выброшенное» исключение, объект подтипа Throwable спокойно попадает в свойсто через конструктор, не обязательно выбрасывать ошибку или исключение для этого

* Update arithmeticerror.xml Сделал ошибку — ошибкой

* Update divisionbyzeroerror.xml Сделал ошибку — ошибкой

* Update assertionerror.xml Сделал ошибку — ошибкой

* Update compileerror.xml Сделал ошибку — ошибкой

* Update parseerror.xml Сделал ошибку — ошибкой

* Update dateerror.xml Сделал ошибку — ошибкой

* Update dateobjecterror.xml Сделал ошибку — ошибкой

* Update daterangeerror.xml Сделал ошибку ошибкой

* Update fibererror.xml Сделал ошибку — ошибкой

* Update random.randomerror.xml Сделал ошибку — ошибкой

* Update random.brokenrandomengineerror.xml Сделал ошибку — ошибкой

* Update typeerror.xml Сделал ошибку — ошибкой

* Update argumentcounterror.xml Сделал ошибку — ошибкой

Расшифровал «слишком много» и «слишком мало»

* Update unhandledmatcherror.xml  Сделал ошибку — ошибкой

* Update valueerror.xml Сделал ошибку — ошибкой
2025-03-21 07:12:17 +03:00

76 lines
2.9 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: 14767af0f05dffa6fdb9b49e1a1f4e9ca7022a60 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: no -->
<reference xml:id="class.arithmeticerror" role="exception" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>Ошибка ArithmeticError</title>
<titleabbrev>ArithmeticError</titleabbrev>
<partintro>
<!-- {{{ Error intro -->
<section xml:id="arithmeticerror.intro">
&reftitle.intro;
<para>
Ошибка <ooclass><classname>ArithmeticError</classname></ooclass> возникает
при некорректных математических операциях или недопустимом результате.
К таким ошибкам относятся попытки выполнить сдвиг битов на отрицательную величину
или вызов функции <function>intdiv</function>, при котором частное выходит
за пределы возможных границ типа <type>int</type>.
</para>
</section>
<!-- }}} -->
<section xml:id="arithmeticerror.synopsis">
&reftitle.classsynopsis;
<!-- {{{ Synopsis -->
<classsynopsis class="class">
<ooexception>
<exceptionname>ArithmeticError</exceptionname>
</ooexception>
<ooclass>
<modifier>extends</modifier>
<classname>Error</classname>
</ooclass>
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:partintro/db:section/db:classsynopsis/db:fieldsynopsis[preceding-sibling::db:classsynopsisinfo[1][@role='comment' and text()='&Properties;']]))">
<xi:fallback/>
</xi:include>
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='Error'])">
<xi:fallback/>
</xi:include>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='Error'])">
<xi:fallback/>
</xi:include>
</classsynopsis>
<!-- }}} -->
</section>
</partintro>
</reference>
<!-- 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
-->