11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <!-- EN-Revision: 130701dd4e64351d38da565ab3043a8f795698f8 Maintainer: ManueldG Status: ready -->
2+ <!-- splitted from ./it/functions/filesystem.xml, last change in rev 1.15 -->
3+ <!-- EN-Revision: 21cd3a942724400765125b657d24f8c8c4d623e9 Maintainer: cortesi Status: ManueldG -->
34<!-- Reviewed: no -->
4- <!-- CREDITS: cortesi -->
5+ <!-- CREDITS cortesi -->
56<refentry xml : id =" function.dirname" xmlns =" http://docbook.org/ns/docbook" >
67 <refnamediv >
78 <refname >dirname</refname >
3435 di caratteri multibyte, deve essere impostata la codepage corrispondente.
3536 Se <parameter >path</parameter > contiene caratteri non validi per la codepage
3637 corrente, il comportamento di <function >dirname</function > non è definito.
37-
38- On Windows, <function >dirname</function > assumes the currently set codepage, so for it to see the
39- correct directory name with multibyte character paths, the matching codepage must
40- be set.
41- If <parameter >path</parameter > contains characters which are invalid for the
42- current codepage, the behavior of <function >dirname</function > is undefined.
4338 </para >
4439 <para >
4540 negli altri sistemi operativi, nella funzione <function >dirname</function > si presume che <parameter >path</parameter >
8479 <refsect1 role =" returnvalues" >
8580 &reftitle.returnvalues;
8681 <para >
87- Restituisce il percorso di una directory padre. Se non ci sono barre in
82+ Restituisce il percorso di una directory padre<!-- genitore --> . Se non ci sono slash in
8883 <parameter >path</parameter >, viene restituito un punto ('<literal >.</literal >'), che
8984 indica la directory corrente. In caso contrario, la stringa restituita è
90- <parameter >path</parameter > con qualsiasi
91- <literal >/component</literal > finale rimosso .
85+ <parameter >path</parameter > senza qualsiasi
86+ <literal >/component</literal > finale.
9287 </para >
9388
9489 <caution >
@@ -111,30 +106,6 @@ dirname('C:\\'); // Restituirà 'C:\' su Windows e '.' su sistemi *nix.
111106 </caution >
112107 </refsect1 >
113108
114- <refsect1 role =" changelog" >
115- &reftitle.changelog;
116- <para >
117- <informaltable >
118- <tgroup cols =" 2" >
119- <thead >
120- <row >
121- <entry >&Version; </entry >
122- <entry >&Description; </entry >
123- </row >
124- </thead >
125- <tbody >
126- <row >
127- <entry >7.0.0</entry >
128- <entry >
129- Aggiunto il parametro optionale <parameter >levels</parameter >.
130- </entry >
131- </row >
132- </tbody >
133- </tgroup >
134- </informaltable >
135- </para >
136- </refsect1 >
137-
138109 <refsect1 role =" examples" >
139110 &reftitle.examples;
140111 <para >
0 commit comments