php 5.3 even more fixes