Recursion
When you instantiate system
, you are extending test
which is calling the __construct()
method, which is in turn creating a new system
object, which extends test
and calls __construct()
, etc, etc.
Why are you creating a new system
object in your test
class if system
extends test
?