Skip to content

Commit 546cd69

Browse files
Merge pull request #67 from Sohamatic/main
Update hello-world.php
2 parents 4145243 + a9a3363 commit 546cd69

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed
Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
# Title: Print Hello World
2-
# Topic: Basics
3-
# Language: php
4-
# Example: see bottom
1+
<?php
2+
// PHP Hello, World!
3+
// 'echo' is a language construct used to output strings.
54

6-
// Print Hello World - placeholder in php
5+
echo "Hello, World!";
6+
7+
// PHP code is typically wrapped in the opening and closing tags.
8+
?>

0 commit comments

Comments
 (0)