cvs: phpdoc /fr/functions filesystem.xml

From: Date: Tue, 03 Apr 2001 13:23:17 +0000
Subject: cvs: phpdoc /fr/functions filesystem.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969334891@lists.php.net to get a copy of this message
dams Tue Apr 3 06:23:17 2001 EDT Modified files: /phpdoc/fr/functions filesystem.xml Log: Keeping up with en tree. Index: phpdoc/fr/functions/filesystem.xml diff -u phpdoc/fr/functions/filesystem.xml:1.18 phpdoc/fr/functions/filesystem.xml:1.19 --- phpdoc/fr/functions/filesystem.xml:1.18 Tue Mar 27 03:02:14 2001 +++ phpdoc/fr/functions/filesystem.xml Tue Apr 3 06:23:17 2001 @@ -2158,6 +2158,60 @@ </para> </refsect1> </refentry> + <refentry id="function.pathinfo"> + <refnamediv> + <refname>pathinfo</refname> + <refpurpose>Retourne des informations sur un chemin systme</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>array <function>pathinfo</function></funcdef> + <paramdef>string <parameter>path</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <para> + <function>pathinfo</function> retourne un tableau associatif, + contenant les informations sur le chemin <parameter>path</parameter>. + Les ŽlŽments de tableau suivants sont retournŽs : + <parameter>dirname</parameter>, <parameter>basename</parameter> + et <parameter>extension</parameter>. + </para> + <para> + <example> + <title>Exemple avec <function>pathinfo</function></title> + <programlisting role="php"> +&lt;?php + +$path_parts = pathinfo("/www/htdocs/index.html"); + +echo $path_parts["dirname"] . "\n"; +echo $path_parts["basename"] . "\n"; +echo $path_parts["extension"] . "\n"; + +?&gt; + </programlisting> + </example> + </para> + <para> + Va afficher : + <informalexample> + <programlisting> +/www/htdocs +index.html +html + </programlisting> + </informalexample> + </para> + <para> + Voir aussi + <function>dirname</function>, + <function>basename</function> et + <function>realpath</function>. + </para> + </refsect1> + </refentry> <refentry id="function.pclose"> <refnamediv> <refname>pclose</refname>

« previous php.doc (#969334891) next »