Fix for misleading eval err msg in PHP validation