Skip to content

Commit f18d828

Browse files
committedJan 1, 2025
012-Adding If-Else conditionals
1 parent 33d36c1 commit f18d828

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎012-adding-if-else-conditionals.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?php
2+
$isRaining = true;
3+
if ($isRaining) {
4+
echo "I will stay at home";
5+
} else {
6+
echo "I will go to the beach";
7+
}

0 commit comments

Comments
 (0)
Please sign in to comment.