mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
docs for new pathinfo() constant
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@216538 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
5465bd45a8
commit
8fb36c05ed
2 changed files with 18 additions and 5 deletions
|
@ -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;
|
||||
|
@ -103,6 +103,17 @@
|
|||
</simpara>
|
||||
</listitem>
|
||||
</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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue