[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] [doc-en] master: Update getsubpathname.xml
From:       Lucas Bustamante via GitHub <noreply () php ! net>
Date:       2023-02-15 16:55:55
Message-ID: owKcnQJiu5bhpGkTmWd67tiK7oGpKQk9kW5K339DQ () main ! php ! net
[Download RAW message or body]

Author: Lucas Bustamante (Luc45)
Committer: GitHub (web-flow)
Pusher: cmb69
Date: 2023-02-15T17:56:35+01:00

Commit: https://github.com/php/doc-en/commit/c03200d4f9a080ee8956df15ff699be46631a83c
Raw diff: https://github.com/php/doc-en/commit/c03200d4f9a080ee8956df15ff699be46631a83c.diff


Update getsubpathname.xml

Closes GH-2298.

Changed paths:
  M  reference/spl/recursivedirectoryiterator/getsubpathname.xml


Diff:

diff --git a/reference/spl/recursivedirectoryiterator/getsubpathname.xml \
b/reference/spl/recursivedirectoryiterator/getsubpathname.xml index \
                0f0ab0c3679..1dbd5970686 100644
--- a/reference/spl/recursivedirectoryiterator/getsubpathname.xml
+++ b/reference/spl/recursivedirectoryiterator/getsubpathname.xml
@@ -44,7 +44,7 @@
       $it = new RecursiveIteratorIterator(new \
RecursiveDirectoryIterator($directory));  
       foreach ($it as $file) {
-          echo 'SubPathName: ' . $it->getSubPathName() . "\n";
+          echo 'SubPathName: ' . $it->getSubPathname() . "\n";
           echo 'SubPath:     ' . $it->getSubPath() . "\n\n";
       }
     ]]>

-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic