Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP Deprecated: Methods with the same name

Tags:

php

People also ask

What is PHP deprecated?

The deprecation indicates the feature in question may be removed in the future. Show activity on this post. The depreciated functions still exist however you get the warning, meaning that such functions will not be available in future.

Which PHP tag style is deprecated in PHP version 7?

PHP 7 "The ASP tags <%, %>, <%=" are deprecated.

Is PHP 7.3 deprecated?

Since these have been implicitly enforced since PHP 5.2. 1, PHP 7.3 deprecated their usage as they are redundant.


As mentioned in the error, the official manual and the comments:

Replace

public function TSStatus($host, $queryPort)

with

public function __construct($host, $queryPort)