[TYPO3-dev] problems in many extensions
ries van Twisk
typo3 at rvt.dds.nl
Mon Jul 9 15:14:32 CEST 2007
Hey steffen,
I have read about that indeed, But I am a php4/php5..x1 user still :)
Just to clarify and from what I understood:
You cannot declare a function like this anymore:
function xyz($this) {
......
}
Normally that shouldn't never happens since it doesn't make since in
any function
that is member of a class.
So it needs to be changed to:
function xyz($that) {
......
}
($that or any other sensible variable name)
Ries
On Jul 9, 2007, at 8:03 AM, Steffen Kamper wrote:
> Hi devs,
>
> since php 5.2.2 many extensions doesn't work correct if they
> passing "$this"
> in functioncalls. In some installations i changed the problems by
> myself,
> but it would be good if we can find all of this. The problem is
> only the
> naming, as $this is a reserved var, so simply renaming does the job.
>
> Found in:
> - static_info_tables
> - tt_news
> - cal (fixed in svn)
> - mm_forum
> - rlmp_officedocuments
>
> there are surely many others.
>
> vg Steffen
>
>
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
More information about the TYPO3-dev
mailing list