On Sat, Oct 10, 2009 at 4:25 AM, Micke Nordin <mickewiki(a)gmail.com> wrote:
Robert Rohde <rarohde <at> gmail.com>
writes:
PHP 4 and PHP 5 handle objects as function
parameters differently.
Mediawiki now considers PHP 5.0 or later as a prerequisite (5.1 or
later recommended). The warning you quote is a plausible consequence
of using PHP 4 under certain circumstances, so that is the first thing
I would check.
Right, I'll see if I can get a hold of the guy again. Thanks for that.
Is there a notable difference between passing the parser object by reference
rather than as a value in this case though? I mean, if I can support PHP4 with
my extension with out any (notable) differences I could just as easily pass the
object as a value instead. I don't notice an difference in performance when I
try it...
/Micke
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
There's no point in targeting PHP4. Mediawiki doesn't support it anymore.
-Chad