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

Gregor Hermens gregor at a-mazing.de
Tue Oct 18 06:40:27 CEST 2016


Hallo Johannes,

Johannes C. Laxander wrote:

> 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;

http://de2.php.net/manual/de/language.oop5.decon.php

sollte dir helfen...

Gruß,
Gregor
-- 
http://www.a-mazing.de/   |   Certified TYPO3 Integrator



More information about the TYPO3-german mailing list