[TYPO3-german] Methods with the same name as their class will not be constructors in a future version of PHP

Johannes C. Laxander jc at laxander.com
Mon Oct 17 22:44:01 CEST 2016


Hallo,

ich bekomme die Fehlermeldung unter TYPO3 7.6.11 und kann sie auch im Code
nachvollziehen. 
Ist das eine Einschränkung durch PHP7? Gibt es eine Empfehlung für die
Extension Entwicklung, wie Klassen und Funktionen unter PHP7 künftig benannt
werden sollen?


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


class tx_abc_xyz extends tx_abc {

public function tx_abc_xyz (...) {
...
}

}

Gruß, Johannes.



More information about the TYPO3-german mailing list