You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
unset($this) throws a fatal error on linting. Use internal
garbage collection to clean up old objects instead.
Fixes#257
Signed-off-by: Damien Regad <dregad@mantisbt.org>
As per PHP manual, "It is not possible to unset $this inside an object
method since PHP 5." (see http://php.net/manual/function.unset, Notes
section)
Linting (php -l) on php 7.1 alpha2 shows a couple of issues like:
PHP Fatal error: Cannot unset $this in ./adodb-xmlschema.inc.php on line 160
The text was updated successfully, but these errors were encountered: