Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP PHP Basics Daily Exercise Program String Manipulation

Kevin Silvestre
Kevin Silvestre
PHP Development Techdegree Student 2,945 Points

I am getting a Bummer , saying "I do not see a period for this challenge". My code is displaying what is asking me to.

I want to make sure if this is a bug or if there is something I am missing. But according to the prompt for the challenge, all I need to do is display " Rasmus Lerdorf was the original creator of PHP" , and I am doing so.

So I am not sure what the "I do not see a period " bummer message is referring to"


//Place your code below this comment
$firstName = "Rasmus";
$lastName = "Lerdorf";

$fullName = $firstName . " " . $lastName;
$creator =  $fullName . " " . "was the original creator of PHP";
echo "$creator" . "\n";


1 Answer

Steven Parker
Steven Parker
229,645 Points

The instructions say the challenge is looking for this particular output:
Rasmus Lerdorf was the original creator of PHP.

Note that the sample sentence ends with a period. The code above prints a similar sentence but without the period at the end.