Fixed PHP-928 and PHP-1060: read only properties for inherited classes.