cvs: phpdoc-pl /reference/filesystem/functions basename.xml
| From: | Leszek Krupinski | Date: | Sun, 08 Feb 2004 11:59:25 +0000 |
| Subject: | cvs: phpdoc-pl /reference/filesystem/functions basename.xml | ||
| Groups: | php.doc.pl | ||
| Request: | Send a blank email to doc-pl+get-247@lists.php.net to get a copy of this message | ||
leszek Sun Feb 8 06:59:25 2004 EDT
Modified files:
/phpdoc-pl/reference/filesystem/functions basename.xml
Log:
[adi] update to rev. 1.4
http://cvs.php.net/diff.php/phpdoc-pl/reference/filesystem/functions/basename.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc-pl/reference/filesystem/functions/basename.xml
diff -u phpdoc-pl/reference/filesystem/functions/basename.xml:1.2
phpdoc-pl/reference/filesystem/functions/basename.xml:1.3
--- phpdoc-pl/reference/filesystem/functions/basename.xml:1.2 Wed Apr 17 03:16:09 2002
+++ phpdoc-pl/reference/filesystem/functions/basename.xml Sun Feb 8 06:59:24 2004
@@ -1,14 +1,10 @@
<?xml version="1.0" encoding="iso-8859-2"?>
-<!-- splitted from ./pl/functions/filesystem.xml, last change in rev 1.1 -->
-<!-- last change to 'basename' 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.4 Maintainer: adi Status: ready -->
+<!-- $Revision: 1.3 $ -->
<refentry id="function.basename">
<refnamediv>
<refname>basename</refname>
- <refpurpose>
- Zwraca nazwê pliku, bêd±cego sk³adow± ¶cie¿ki
- </refpurpose>
+ <refpurpose>Zwraca nazwê pliku, bêd±cego sk³adow± ¶cie¿ki</refpurpose>
</refnamediv>
<refsect1>
<title>Opis</title>
@@ -24,7 +20,7 @@
to zostanie on tak¿e obciêty.
</para>
<para>
- W Windows jako separator ¶cie¿ki u¿ywany jest znak slash
+ W Windows jako separator ¶cie¿ki u¿ywany jest znak slash
(<literal>/</literal>) i backslash (<literal>\</literal>). W
innych ¶rodowiskach jest to slash (<literal>/</literal>).
</para>
@@ -33,9 +29,11 @@
<title><function>basename</function> przyk³ad</title>
<programlisting role="php">
<![CDATA[
+<?php
$path = "/home/httpd/html/index.php";
$file = basename ($path); // $file zawiera "index.php"
-$file = basename ($path,".php"); // $file zawiera "index"
+$file = basename ($path, ".php"); // $file zawiera "index"
+?>
]]>
</programlisting>
</example>