php - Accessing Class Properties with Spaces -


stdclass object ([sector] => manufacturing [date found] => 2010-05-03 08:15:19)

so can access [sector] using $object->sector how can access [date found] ?

you can way:

$object->{'date found'} 

Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -