My code is like that
class Some extends Another {
var $first = "Hello";
var $second = "Hello";
}
I want to put $first
to $second
so how I can put it?
I try something like the following
class Some extends Another {
var $first = "Hello";
var $second = "Hello $first";
}
but I got the following errors
syntax error, unexpected '"'
And it's that possible to put?