adapter, use URL for php52 backports