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

From: Date: Tue, 01 Jun 2004 01:02:39 +0000
Subject: cvs: phpdoc-pl /reference/filesystem/functions is-executable.xml
Groups: php.doc.pl 
Request: Send a blank email to doc-pl+get-339@lists.php.net to get a copy of this message
leszek Mon May 31 21:02:39 2004 EDT Modified files: /phpdoc-pl/reference/filesystem/functions is-executable.xml Log: [adi] update to rev. 1.11 http://cvs.php.net/diff.php/phpdoc-pl/reference/filesystem/functions/is-executable.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-pl/reference/filesystem/functions/is-executable.xml diff -u phpdoc-pl/reference/filesystem/functions/is-executable.xml:1.3 phpdoc-pl/reference/filesystem/functions/is-executable.xml:1.4 --- phpdoc-pl/reference/filesystem/functions/is-executable.xml:1.3 Fri May 17 09:50:49 2002 +++ phpdoc-pl/reference/filesystem/functions/is-executable.xml Mon May 31 21:02:39 2004 @@ -1,8 +1,6 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- splitted from ./pl/functions/filesystem.xml, last change in rev 1.1 --> -<!-- last change to 'is-executable' in en/ tree in rev 1.2 --> -<!-- EN-Revision: 1.2 Maintainer: adi Status: partial --> -<!-- OLD-Revision: 1.115/EN.1.2 --> +<!-- EN-Revision: 1.11 Maintainer: adi Status: ready --> +<!-- $Revision: 1.4 $ --> <refentry id="function.is-executable"> <refnamediv> <refname>is_executable</refname> @@ -18,14 +16,32 @@ Zwraca &true; je¶li plik istnieje i jest wykonywalny. </para> <para> - Wyniki tej funkcji s± cachowane. Zobacz - <function>clearstatcache</function> aby uzyskaæ wiêcej szczegó³ów. + <function>is_executable</function> w <productname>Windows</productname> + jest dostêpna w wersji PHP 5.0.0. </para> - <simpara> - Ta funkcja nie dzia³a - <link linkend="features.remote-files">na zdalnych plikach</link>; sprawdzany - plik musi byæ dostêpny przez system plików serwera. - </simpara> + <para> + <example> + <title><function>is_executable</function> przyk³ad</title> + <programlisting role="php"> + <![CDATA[ + <?php + + $file = '/home/vincent/somefile.sh'; + + if (is_executable($file)) { + echo $file.' jest wykonywalny'; + } else { + echo $file.' nie jest wykonywalny'; + } + + ?> + ]]> + </programlisting> + </example> + </para> + + &note.clearstatcache; + &tip.fopen-wrapper.stat; <para> Patrz tak¿e: <function>is_file</function> i <function>is_link</function>.

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