Updating for php 5.5