Fixed support for references in PHP of array elements and object properties

- eg. '$value = 7; $object = new stdClass; $object->prop =& $value;'