[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] [doc-en] master: strrchr: typo fix (#2884)
From: David CARLIER via GitHub <noreply () php ! net>
Date: 2023-10-23 21:45:39
Message-ID: nK3tIrdswsXrVVyQJRIJZYeL1ID3GXp9mGWDGkCE () main ! php ! net
[Download RAW message or body]
Author: David CARLIER (devnexen)
Committer: GitHub (web-flow)
Pusher: jhdxr
Date: 2023-10-24T05:32:05+08:00
Commit: https://github.com/php/doc-en/commit/a2ba966ef221784188fc900f17080df284e4a56c
Raw diff: https://github.com/php/doc-en/commit/a2ba966ef221784188fc900f17080df284e4a56c.diff
strrchr: typo fix (#2884)
Changed paths:
M reference/strings/functions/strrchr.xml
Diff:
diff --git a/reference/strings/functions/strrchr.xml b/reference/strings/functions/strrchr.xml
index 8b82565cd89..9c2f3660398 100644
--- a/reference/strings/functions/strrchr.xml
+++ b/reference/strings/functions/strrchr.xml
@@ -110,17 +110,17 @@
<![CDATA[
<?php
$ext = strrchr('somefile.txt', '.');
-echo "file extention: $ext \n";
+echo "file extension: $ext \n";
$ext = $ext ? strtolower(substr($ext, 1) ) : '';
-echo "file extention: $ext";
+echo "file extension: $ext";
?>
]]>
</programlisting>
&example.outputs.similar;
<screen>
<![CDATA[
-file extention: .txt
-file extention: txt
+file extension: .txt
+file extension: txt
]]>
</screen>
</example>
--
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