mirror of
https://github.com/php/doc-it.git
synced 2026-03-23 23:22:07 +01:00
Add translation for types (mixed, void, never) and require, require_once (#118)
* Add Italian translation for mixed, void, never types and require, require_once * Update require-once.xml * Update never.xml * Update void.xml --------- Co-authored-by: Davide Pastore <pasdavide@gmail.com>
This commit is contained in:
39
language/control-structures/require-once.xml
Normal file
39
language/control-structures/require-once.xml
Normal file
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: ffbe6525350c91d58e1d5b7a52c46c911035c8e0 Maintainer: lacatoire Status: ready -->
|
||||
|
||||
<sect1 xml:id="function.require-once" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>require_once</title>
|
||||
<?phpdoc print-version-for="require_once"?>
|
||||
<para>
|
||||
L'espressione <literal>require_once</literal> è identica a
|
||||
<function>require</function> tranne che PHP verificherà se il file è già
|
||||
stato incluso, e in tal caso non lo includerà (richiederà) di nuovo.
|
||||
</para>
|
||||
<para>
|
||||
Consultare la documentazione di <function>include_once</function> per informazioni
|
||||
sul comportamento di <literal>_once</literal> e su come differisce dalle
|
||||
sue controparti senza <literal>_once</literal>.
|
||||
</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
|
||||
-->
|
||||
40
language/control-structures/require.xml
Normal file
40
language/control-structures/require.xml
Normal file
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 30c0106d51ac2786b81b27709ca88f1daf07e716 Maintainer: lacatoire Status: ready -->
|
||||
|
||||
<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> è identico a <function>include</function>
|
||||
tranne che in caso di errore produce anche un'eccezione <classname>Error</classname>
|
||||
(un errore di livello <constant>E_COMPILE_ERROR</constant> prima di
|
||||
PHP 8.0.0), mentre <function>include</function> produce solo un avviso
|
||||
(errore di livello <constant>E_WARNING</constant>).
|
||||
</para>
|
||||
<para>
|
||||
Consultare la documentazione di <function>include</function> per il funzionamento.
|
||||
</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
|
||||
-->
|
||||
44
language/types/mixed.xml
Normal file
44
language/types/mixed.xml
Normal file
@@ -0,0 +1,44 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 161dde4fe721309398dd324edbf02aec409f127b Maintainer: lacatoire Status: ready -->
|
||||
<sect1 xml:id="language.types.mixed">
|
||||
<title>Mixed</title>
|
||||
|
||||
<para>
|
||||
Il tipo <type>mixed</type> accetta qualsiasi valore. È equivalente al
|
||||
<link linkend="language.types.type-system.composite.union">tipo union</link>
|
||||
<!-- Need to improve rendering of free-standing type elements in PhD
|
||||
<type class="union">
|
||||
<type>object</type><type>resource</type><type>array</type><type>string</type>
|
||||
<type>int</type><type>float</type><type>bool</type><type>null</type>
|
||||
</type>.
|
||||
-->
|
||||
<literal>object|resource|array|string|float|int|bool|null</literal>.
|
||||
Disponibile a partire da PHP 8.0.0.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<type>mixed</type> è, nel gergo della teoria dei tipi, il tipo top.
|
||||
Ciò significa che ogni altro tipo è un suo sottotipo.
|
||||
</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
|
||||
-->
|
||||
40
language/types/never.xml
Normal file
40
language/types/never.xml
Normal file
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 161dde4fe721309398dd324edbf02aec409f127b Maintainer: lacatoire Status: ready -->
|
||||
<sect1 xml:id="language.types.never">
|
||||
<title>Never</title>
|
||||
|
||||
<para>
|
||||
<type>never</type> è un tipo utilizzabile solo come tipo di ritorno, che indica
|
||||
che la funzione non termina. Ciò significa che chiama <function>exit</function>,
|
||||
lancia un'eccezione, oppure è un ciclo infinito.
|
||||
Pertanto, non può far parte di una dichiarazione di
|
||||
<link linkend="language.types.type-system.composite.union">tipo union</link>.
|
||||
Disponibile a partire da PHP 8.1.0.
|
||||
</para>
|
||||
<para>
|
||||
<type>never</type> è, nel gergo della teoria dei tipi, il tipo bottom.
|
||||
Ciò significa che è il sottotipo di ogni altro tipo e può sostituire qualsiasi altro
|
||||
tipo di ritorno durante l'ereditarietà.
|
||||
</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
|
||||
-->
|
||||
41
language/types/void.xml
Normal file
41
language/types/void.xml
Normal file
@@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 161dde4fe721309398dd324edbf02aec409f127b Maintainer: lacatoire Status: ready -->
|
||||
<sect1 xml:id="language.types.void">
|
||||
<title>Void</title>
|
||||
|
||||
<para>
|
||||
<type>void</type> è una dichiarazione di tipo utilizzabile solo come tipo di ritorno, che indica che
|
||||
la funzione non restituisce un valore, ma può comunque terminare.
|
||||
Pertanto, non può far parte di una dichiarazione di
|
||||
<link linkend="language.types.type-system.composite.union">tipo union</link>.
|
||||
Disponibile a partire da PHP 7.1.0.
|
||||
</para>
|
||||
|
||||
<note>
|
||||
<simpara>
|
||||
Anche se una funzione ha un tipo di ritorno <type>void</type>,
|
||||
restituirà comunque un valore, che sarà sempre &null;.
|
||||
</simpara>
|
||||
</note>
|
||||
|
||||
</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
|
||||
-->
|
||||
Reference in New Issue
Block a user