Hi,

I've recently stumbled upon the following issue: when calling a
non-static function statically from a non-static class, the instance
magically moves to the called class. It throws a strict warning, but I
wonder if this is enough. The attached example produces "Foo".

cu, Lars
-- 
  »Die Glorifizierung der prächtigen underdogs läuft auf
   die des prächtigen Systems heraus, das sie dazu macht.«
     -- Theodor W. Adorno, »Minima Moralia«: They, the people

Lars Strojny
Nießenstr. 36
51103 Cologne
Jabber/Mail: [EMAIL PROTECTED]
Weblog: http://usrportage.de

Attachment: moving-instance.php
Description: application/php

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to