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

Magento/PHP - Get phones on all members in a customer group -

spring cloud - How to configure SpringCloud Eureka instance to point to https on non standard port -

javascript - Bootstrap Popover: iOS Safari strange behaviour -