OOP (course 4): Static methods, Namespaces, Exceptions & Traits! Woh!
ArrayAccess: Treat your Object like an Array
  Start your All-Access Pass to unlock this challenge
Buy Access Login

Challenge 1 / 1

Challenge! Check out the following code:

// some code that you can't see!

echo $planet['radius']; // prints 50

echo $planet['atmosphere']->getMainElement(); // prints Nitrogen

echo $blackhole; // prints an empty string

$solarSystem[] = $planet;

Which of the following is not true:

Skip challenges and go to theNext Chapter

Turn Challenges Off?

All further challenges will be skipped automatically.
You can re-enable challenges at any time on this page or from your account page.