I have some weird issues and can't find the correct answer. I have a parent and a child class.

namespace Utils;

class a extends b { }

namespace Utils; class b { }

What I would normally do is:

var classA = new self();

Hoever this doesn't work, so i tried: var classA = new a();

I get an error " Unknown type: new". I tried with namespace, without and I even tried this. Nothing seem to work. Can you help out?