* (bug 2885, 2931) Problems with references in php 4.4 and 5.1