for php usage