cvs: phpdoc /en/reference/filesystem constants.xml /en/reference/filesystem/functions pathinfo.xml
| From: | Antony Dovgal | Date: | Mon, 17 Jul 2006 10:50:14 +0000 |
| Subject: | cvs: phpdoc /en/reference/filesystem constants.xml /en/reference/filesystem/functions pathinfo.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969373504@lists.php.net to get a copy of this message | ||
tony2001 Mon Jul 17 10:50:14 2006 UTC
Modified files:
/phpdoc/en/reference/filesystem/functions pathinfo.xml
/phpdoc/en/reference/filesystem constants.xml
Log:
docs for new pathinfo() constant
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/filesystem/functions/pathinfo.xml?r1=1.10&r2=1.11&diff_format=u
Index: phpdoc/en/reference/filesystem/functions/pathinfo.xml
diff -u phpdoc/en/reference/filesystem/functions/pathinfo.xml:1.10
phpdoc/en/reference/filesystem/functions/pathinfo.xml:1.11
--- phpdoc/en/reference/filesystem/functions/pathinfo.xml:1.10 Thu Jun 15 10:55:27 2006
+++ phpdoc/en/reference/filesystem/functions/pathinfo.xml Mon Jul 17 10:50:14 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.10 $ -->
+<!-- $Revision: 1.11 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.61 -->
<refentry id="function.pathinfo">
<refnamediv>
@@ -24,9 +24,11 @@
You can specify which elements are returned with optional parameter
<parameter>options</parameter>. It composes from
<constant>PATHINFO_DIRNAME</constant>,
- <constant>PATHINFO_BASENAME</constant> and
- <constant>PATHINFO_EXTENSION</constant>. It defaults to return all
- elements. This function returns string if not all elements are requested.
+ <constant>PATHINFO_BASENAME</constant>,
+ <constant>PATHINFO_EXTENSION</constant> and
+ <constant>PATHINFO_FILENAME</constant> (available since PHP 5.2.0). It
+ defaults to return all elements. This function returns string if not all
+ elements are requested.
</para>
<para>
<example>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/filesystem/constants.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc/en/reference/filesystem/constants.xml
diff -u phpdoc/en/reference/filesystem/constants.xml:1.2
phpdoc/en/reference/filesystem/constants.xml:1.3
--- phpdoc/en/reference/filesystem/constants.xml:1.2 Tue Apr 8 23:43:56 2003
+++ phpdoc/en/reference/filesystem/constants.xml Mon Jul 17 10:50:14 2006
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<section id="filesystem.constants">
&reftitle.constants;
&extension.constants;
@@ -105,6 +105,17 @@
</varlistentry>
<varlistentry>
<term>
+ <constant>PATHINFO_FILENAME</constant>
+ (<type>integer</type>)
+ </term>
+ <listitem>
+ <simpara>
+ Since PHP 5.2.0.
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
<constant>FILE_USE_INCLUDE_PATH</constant>
(<type>integer</type>)
</term>