I got an object (in PHP) and I can't print the content.
In debug-mode it's like this:
stdClass Object
(
[pre-selection] => 1
)
But I can't print the 'pre-selection' because of the minus sign.
echo $object->pre-selection; //doens't work.
How can I print this out? Thanks.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…