updated php.while