This forum is now read-only. Please use our new forums! Go to forums
Code Needed
I have been working on this for almost for 2 weeks and and I’m still not able to figure out the problem.
Answer 52e6791780ff33d68e000096
Answer 52fbb9387c82caec1d003626
1 vote
There must be hidden artifacts (a bug) within the white spaces. Matias Nürnberg is right, but use the following line:
<?php class ClassPerson { } $me = new Person(); ?>
3 comments
Adamace about 10 years
it pass but ur code is wrong look at your class ClassPerson, its not equal to a new Person
Tudor Sfatosu (2) about 10 years
I used to go from one lesson to another and then compile it again, and it worked… there is something behind…
Thank you Adamace
Adamace about 10 years
np
Answer 517f9a52a704eb742b002e2d
6 comments
patel17 almost 11 years
Thanks
Alejandro Baez almost 11 years
I need to know why I keep getting an error, I have the same code?
theminecrafter almost 11 years
Sometimes you just need to press F5 and then try again.
shadowwaveseven almost 11 years
You forgot }
Nick Samuel over 10 years
No way you worked on it for 2 weeks…
Tripleb over 10 years
$me = new Person() cannot be inside the class..
Popular free courses
- Free Course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.Beginner friendly,4 LessonsLanguage Fluency - Free Course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner friendly,11 LessonsLanguage Fluency - Free Course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner friendly,6 LessonsLanguage Fluency
2 comments
your opening