PHP PHP Basics Getting to Know PHP Intro to Workspaces and PHP Code

Vijayalaxmi vastrad
Vijayalaxmi vastrad
2,789 Points

command line printing the output with tags

treehouse:~/workspace$ php hello.php
<? php
echo hello world;

2 Answers

I found two issues:

(1) You have a space between ? and php in the opening tag

(2) You need quotes around your text


echo 'hello world';