We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f391714 commit a14b55fCopy full SHA for a14b55f
index.php example.phpindex.php renamed to example.php
@@ -1,8 +1,5 @@
1
<?php
2
-
3
include "vendor/autoload.php";
4
5
-// $str = stringer("reza");
6
echo $str = stringer('azer')
7
->reverse()
8
->replace("a","i")
readme.md
@@ -14,8 +14,11 @@ $str = new RezaAr\Stringer\Stringer("php is awesome");
14
// or
15
$str = stringer("php is awesome");
16
17
-$str->reverse()->display(); // return "emosewa si php"
18
-$str->substring(0,1)->display(); // return "r"
+$str->reverse()
+ ->display(); // return "emosewa si php"
19
+
20
+$str->substring(0,1)
21
+ ->display(); // return "r"
22
23
?>
24
0 commit comments