I know that the following is valid
class whatever{ var $a; var $b; function whatever(){} }
My question is, is the following valid?
class whatever{ int $a; string $b;
function whatever(){} }
I don't think so..
maybe
var $myVar = int;
why not just test it out instead of asking ? 🙂