Challenge 2 / 3
Suppose you want to change the value of a constant. Check out the following code:
class GasPlanet
{
const MATERIAL_AMMONIA = 'ammonia';
}
<?php
// ...
GasPlanet::MATERIAL_AMMONIA = 'helium';
Is this legal?
Skip challenges and go to theNext Chapter