Skip to content

Commit fba49e4

Browse files
committedJan 5, 2025
029-Implementing string manipulation functions (strtoupper, strtolower, ucfirst, ucwords)
1 parent be11870 commit fba49e4

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
 
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
$phrase = "Jesus, is my Lord";
3+
echo "{$phrase}\n";
4+
echo strtoupper($phrase) . "\n";
5+
echo "\n";
6+
7+
echo "{$phrase}\n";
8+
echo strtolower($phrase) . "\n";
9+
echo "\n";
10+
11+
echo strtolower($phrase) . "\n";
12+
echo ucfirst(strtolower($phrase)) . "\n";
13+
echo "\n";
14+
15+
echo "{$phrase}\n";
16+
echo ucwords($phrase);

0 commit comments

Comments
 (0)