cvs: phpdoc-pl /reference/filesystem/functions is-file.xml

From: Date: Thu, 07 Apr 2005 00:07:07 +0000
Subject: cvs: phpdoc-pl /reference/filesystem/functions is-file.xml
Groups: php.doc.pl 
Request: Send a blank email to doc-pl+get-629@lists.php.net to get a copy of this message
leszek Wed Apr 6 20:07:07 2005 EDT Modified files: /phpdoc-pl/reference/filesystem/functions is-file.xml Log: [adi] update to rev 1.7 http://cvs.php.net/diff.php/phpdoc-pl/reference/filesystem/functions/is-file.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-pl/reference/filesystem/functions/is-file.xml diff -u phpdoc-pl/reference/filesystem/functions/is-file.xml:1.4 phpdoc-pl/reference/filesystem/functions/is-file.xml:1.5 --- phpdoc-pl/reference/filesystem/functions/is-file.xml:1.4 Wed Dec 22 20:05:03 2004 +++ phpdoc-pl/reference/filesystem/functions/is-file.xml Wed Apr 6 20:07:05 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.6 Maintainer: adi Status: ready --> -<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.7 Maintainer: adi Status: ready --> +<!-- $Revision: 1.5 $ --> <refentry id="function.is-file"> <refnamediv> <refname>is_file</refname> @@ -14,9 +14,29 @@ </methodsynopsis> <para> Zwraca &true; jesli nazwa_pliku istnieje i jest zwyk³ym plikiem. - </para> + </para> + <para> + <example> + <title><function>is_file</function> przyk³ad</title> + <programlisting role="php"> +<![CDATA[ +<? +var_dump(is_file('plik.txt')) . "\n"; +var_dump(is_file('/usr/bin/')) . "\n"; +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +bool(true) +bool(false) +]]> + </screen> + </example> + </para> &note.clearstatcache; - &tip.fopen-wrapper.stat; + &tip.fopen-wrapper.stat; <para> Patrz tak¿e: <function>is_dir</function> i <function>is_link</function>.

« previous php.doc.pl (#629) next »