Skip to content

Commit

Permalink
Update HelloWorld.php
Browse files Browse the repository at this point in the history
Added var_dump() output example.
  • Loading branch information
davidjeddy authored Oct 3, 2018
1 parent 049ba7c commit 8406d9d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions HelloWorld.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@
echo "Hello World";
// If you want to print in browser's console, we use print_r
print_r("Hello World");
// if you want the variable data types as well use var_dump
$stringVar = 'hello world';
var_dump($stringVar);
?>

0 comments on commit 8406d9d

Please sign in to comment.