changed to php 3.10