mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
Windows examples (bug #36956)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241639 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
e781c00648
commit
097a59c938
1 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.12 $ -->
|
||||
<!-- $Revision: 1.13 $ -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.dirname">
|
||||
<refnamediv>
|
||||
<refname>dirname</refname>
|
||||
|
@ -117,7 +117,9 @@ $file = dirname($path); // $file is set to "/etc"
|
|||
dirname('c:/'); // returned '.'
|
||||
|
||||
//after PHP 4.3.0
|
||||
dirname('c:/'); // returns 'c:'
|
||||
dirname('c:/x'); // returns 'c:\'
|
||||
dirname('c:/Temp/x'); // returns 'c:/Temp'
|
||||
dirname('/x'); // returns '\'
|
||||
|
||||
?>
|
||||
]]>
|
||||
|
|
Loading…
Reference in a new issue