Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions snippets/Basics/php/hello-world.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Title: Print Hello World
# Topic: Basics
# Language: php
# Example: see bottom
<?php
// PHP Hello, World!
// 'echo' is a language construct used to output strings.

// Print Hello World - placeholder in php
echo "Hello, World!";

// PHP code is typically wrapped in the opening and closing tags.
?>