Answers for "Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; commonObject has a deprecated constructor in /home/customer/www/clients.artratio.co.uk/public_html/library/commonObject.php on line 3"

PHP
1

PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP;

//From
public function TSStatus($host, $queryPort);

//to
public function __construct($host, $queryPort);
Posted by: Guest on March-13-2020

Code answers related to "Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; commonObject has a deprecated constructor in /home/customer/www/clients.artratio.co.uk/public_html/library/commonObject.php on line 3"

Browse Popular Code Answers by Language