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

List:       php-doc-cvs
Subject:    [DOC-CVS] [doc-en] master: Remove redundant spaces after strrchr() example update (#2886)
From:       Lu Fei via GitHub <noreply () php ! net>
Date:       2023-10-26 0:51:11
Message-ID: NLmQWygXX7EWBdpVo9xR1uhEzXSZ2TyDADpfNDV2Bmk () main ! php ! net
[Download RAW message or body]

Author: Lu Fei (sy-records)
Committer: GitHub (web-flow)
Pusher: Girgias
Date: 2023-10-26T01:54:21+01:00

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

Remove redundant spaces after strrchr() example update (#2886)

Changed paths:
  M  reference/strings/functions/strrchr.xml


Diff:

diff --git a/reference/strings/functions/strrchr.xml b/reference/strings/functions/strrchr.xml
index 9c2f3660398..92fff3c2b43 100644
--- a/reference/strings/functions/strrchr.xml
+++ b/reference/strings/functions/strrchr.xml
@@ -111,7 +111,7 @@
 <?php
 $ext = strrchr('somefile.txt', '.');
 echo "file extension: $ext \n";
-$ext = $ext ? strtolower(substr($ext, 1) ) : '';
+$ext = $ext ? strtolower(substr($ext, 1)) : '';
 echo "file extension: $ext";
 ?>
 ]]>
@@ -123,7 +123,7 @@ file extension: .txt
 file extension: txt
 ]]>
     </screen>
-   </example>   
+   </example>
   </para>
  </refsect1>
 

-- 
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