php require_once 'btphp/lib/Braintree.php'; Braintree_Configuration::environment('sandbox');Braintree_ConfigurationBraintree\Exception' with message 'PHP version >= 7.2.0 required' in /home/content/37/11957537/html
我有一个用PHP编写的类,我用它来与我的网站数据库通信。我也在写一个Java应用程序,这将与数据库通信。我想知道是否有可能使用相同的结构,但将其转换为java,如果我这样做,是否有任何需要考虑的问题。这是我的php类。 private $connection; private $last_query;
public static function getInstance() {