Use zend_read_property() to read object properties
Fix compile failure in 5.5+