Skip to content

Commit 2cd10b7

Browse files
committed
Add Italian translation for mixed, void, never types and require, require_once
1 parent 4db5da5 commit 2cd10b7

File tree

5 files changed

+204
-0
lines changed

5 files changed

+204
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- EN-Revision: ffbe6525350c91d58e1d5b7a52c46c911035c8e0 Maintainer: lacatoire Status: ready -->
3+
4+
<sect1 xml:id="function.require-once" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5+
<title>require_once</title>
6+
<?phpdoc print-version-for="require_once"?>
7+
<para>
8+
L'espressione <literal>require_once</literal> è identica a
9+
<function>require</function> tranne che PHP verificherà se il file è già
10+
stato incluso, e in tal caso non lo includerà (richiederà) di nuovo.
11+
</para>
12+
<para>
13+
Consultare la documentazione di <function>include_once</function> per informazioni
14+
sul comportamento di <literal>_once</literal> e su come differisce
15+
dalle versioni senza <literal>_once</literal>.
16+
</para>
17+
18+
</sect1>
19+
20+
<!-- Keep this comment at the end of the file
21+
Local variables:
22+
mode: sgml
23+
sgml-omittag:t
24+
sgml-shorttag:t
25+
sgml-minimize-attributes:nil
26+
sgml-always-quote-attributes:t
27+
sgml-indent-step:1
28+
sgml-indent-data:t
29+
indent-tabs-mode:nil
30+
sgml-parent-document:nil
31+
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
32+
sgml-exposed-tags:nil
33+
sgml-local-catalogs:nil
34+
sgml-local-ecat-files:nil
35+
End:
36+
vim600: syn=xml fen fdm=syntax fdl=2 si
37+
vim: et tw=78 syn=sgml
38+
vi: ts=1 sw=1
39+
-->
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- EN-Revision: 30c0106d51ac2786b81b27709ca88f1daf07e716 Maintainer: lacatoire Status: ready -->
3+
4+
<sect1 xml:id="function.require" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5+
<title>require</title>
6+
<?phpdoc print-version-for="require"?>
7+
8+
<para>
9+
<literal>require</literal> è identico a <function>include</function>
10+
tranne che in caso di errore produce anche un'eccezione <classname>Error</classname>
11+
(un errore di livello <constant>E_COMPILE_ERROR</constant> prima di
12+
PHP 8.0.0), mentre <function>include</function> produce solo un avviso
13+
(errore di livello <constant>E_WARNING</constant>).
14+
</para>
15+
<para>
16+
Consultare la documentazione di <function>include</function> per il funzionamento.
17+
</para>
18+
19+
</sect1>
20+
21+
<!-- Keep this comment at the end of the file
22+
Local variables:
23+
mode: sgml
24+
sgml-omittag:t
25+
sgml-shorttag:t
26+
sgml-minimize-attributes:nil
27+
sgml-always-quote-attributes:t
28+
sgml-indent-step:1
29+
sgml-indent-data:t
30+
indent-tabs-mode:nil
31+
sgml-parent-document:nil
32+
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
33+
sgml-exposed-tags:nil
34+
sgml-local-catalogs:nil
35+
sgml-local-ecat-files:nil
36+
End:
37+
vim600: syn=xml fen fdm=syntax fdl=2 si
38+
vim: et tw=78 syn=sgml
39+
vi: ts=1 sw=1
40+
-->

language/types/mixed.xml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- EN-Revision: 161dde4fe721309398dd324edbf02aec409f127b Maintainer: lacatoire Status: ready -->
3+
<sect1 xml:id="language.types.mixed">
4+
<title>Mixed</title>
5+
6+
<para>
7+
Il tipo <type>mixed</type> accetta qualsiasi valore. È equivalente al
8+
<link linkend="language.types.type-system.composite.union">tipo union</link>
9+
<!-- Need to improve rendering of free-standing type elements in PhD
10+
<type class="union">
11+
<type>object</type><type>resource</type><type>array</type><type>string</type>
12+
<type>int</type><type>float</type><type>bool</type><type>null</type>
13+
</type>.
14+
-->
15+
<literal>object|resource|array|string|float|int|bool|null</literal>.
16+
Disponibile a partire da PHP 8.0.0.
17+
</para>
18+
19+
<para>
20+
<type>mixed</type> è, nel gergo della teoria dei tipi, il tipo top.
21+
Ciò significa che ogni altro tipo è un suo sottotipo.
22+
</para>
23+
24+
</sect1>
25+
<!-- Keep this comment at the end of the file
26+
Local variables:
27+
mode: sgml
28+
sgml-omittag:t
29+
sgml-shorttag:t
30+
sgml-minimize-attributes:nil
31+
sgml-always-quote-attributes:t
32+
sgml-indent-step:1
33+
sgml-indent-data:t
34+
indent-tabs-mode:nil
35+
sgml-parent-document:nil
36+
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
37+
sgml-exposed-tags:nil
38+
sgml-local-catalogs:nil
39+
sgml-local-ecat-files:nil
40+
End:
41+
vim600: syn=xml fen fdm=syntax fdl=2 si
42+
vim: et tw=78 syn=sgml
43+
vi: ts=1 sw=1
44+
-->

language/types/never.xml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- EN-Revision: 161dde4fe721309398dd324edbf02aec409f127b Maintainer: lacatoire Status: ready -->
3+
<sect1 xml:id="language.types.never">
4+
<title>Never</title>
5+
6+
<para>
7+
<type>never</type> è un tipo utilizzabile solo come tipo di ritorno, che indica
8+
che la funzione non termina. Ciò significa che chiama <function>exit</function>,
9+
lancia un'eccezione, oppure è un ciclo infinito.
10+
Pertanto, non può far parte di una dichiarazione di
11+
<link linkend="language.types.type-system.composite.union">tipo union</link>.
12+
Disponibile a partire da PHP 8.1.0.
13+
</para>
14+
<para>
15+
<type>never</type> è, nel gergo della teoria dei tipi, il tipo bottom.
16+
Ciò significa che è il sottotipo di ogni altro tipo e può sostituire qualsiasi
17+
altro tipo di ritorno durante l'ereditarietà.
18+
</para>
19+
20+
</sect1>
21+
<!-- Keep this comment at the end of the file
22+
Local variables:
23+
mode: sgml
24+
sgml-omittag:t
25+
sgml-shorttag:t
26+
sgml-minimize-attributes:nil
27+
sgml-always-quote-attributes:t
28+
sgml-indent-step:1
29+
sgml-indent-data:t
30+
indent-tabs-mode:nil
31+
sgml-parent-document:nil
32+
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
33+
sgml-exposed-tags:nil
34+
sgml-local-catalogs:nil
35+
sgml-local-ecat-files:nil
36+
End:
37+
vim600: syn=xml fen fdm=syntax fdl=2 si
38+
vim: et tw=78 syn=sgml
39+
vi: ts=1 sw=1
40+
-->

language/types/void.xml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- EN-Revision: 161dde4fe721309398dd324edbf02aec409f127b Maintainer: lacatoire Status: ready -->
3+
<sect1 xml:id="language.types.void">
4+
<title>Void</title>
5+
6+
<para>
7+
<type>void</type> è una dichiarazione di tipo utilizzabile solo come tipo di ritorno,
8+
che indica che la funzione non restituisce un valore, ma può comunque terminare.
9+
Pertanto, non può far parte di una dichiarazione di
10+
<link linkend="language.types.type-system.composite.union">tipo union</link>.
11+
Disponibile a partire da PHP 7.1.0.
12+
</para>
13+
14+
<note>
15+
<simpara>
16+
Anche se una funzione ha un tipo di ritorno <type>void</type>,
17+
restituirà comunque un valore, che sarà sempre &null;.
18+
</simpara>
19+
</note>
20+
21+
</sect1>
22+
<!-- Keep this comment at the end of the file
23+
Local variables:
24+
mode: sgml
25+
sgml-omittag:t
26+
sgml-shorttag:t
27+
sgml-minimize-attributes:nil
28+
sgml-always-quote-attributes:t
29+
sgml-indent-step:1
30+
sgml-indent-data:t
31+
indent-tabs-mode:nil
32+
sgml-parent-document:nil
33+
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
34+
sgml-exposed-tags:nil
35+
sgml-local-catalogs:nil
36+
sgml-local-ecat-files:nil
37+
End:
38+
vim600: syn=xml fen fdm=syntax fdl=2 si
39+
vim: et tw=78 syn=sgml
40+
vi: ts=1 sw=1
41+
-->

0 commit comments

Comments
 (0)