Update standard.php

Also updating PHP 5.2 core