I've attached patches to add reference support to the PHP Extension ( https://issues.apache.org/jira/browse/TUSCANY-1089). This is a fairly major change and there have been several build problems in getting this to work. As it's been a bit of a struggle I'm keen to get someone else to help me try in on other boxes because I'm still having problems on my configuration and its not clear if it's me or if there are rela problems. Sharing via svn is the best way to do this but I should mention that this won't work without some changes to the SCA_SDO PECL extension which I'm in the process of making at the moment. They aren't there just yet.
Simon
