Actions
Anomalie #834
closedPHP7: installer fix. fatal error on unset($this)
Start date:
04/06/2018
Due date:
% Done:
100%
Estimated time:
0.25 h
Resolution:
Description
On version 2.0 `www/install/installer/Installer.php` contains this invalid instructions (fatal error on php7):
# Clear unset($this);
The simpliest way of fixing this is to remove this memory cleanup instructions.
Updated by Simon over 6 years ago
- Assignee set to Simon
- Target version set to 2.1
Updated by Simon over 6 years ago
See :
It's not allowed to re-assign $this, so why it should be allowed to unset() it. The following code worked in PHP 7, but will emit compilation error in PHP 7.1 unset($this); // Fatal error: Cannot unset $this
Updated by Simon over 6 years ago
- Status changed from Nouveau to Fermé
- % Done changed from 0 to 100
Applied in changeset linea21|r3337.
Actions