improve PHP test