I've just implemented what it's described in the linked bug (not my report but my team has the same issue): https://bugs.php.net/bug.php?id=65576
The rationale is: it works the same way for all magic methods except for the constructor and it seems to be a regression introduced in the fix of another bug (see comments in the bug tracker). 2014-12-08 16:17 GMT+01:00 Levi Morrison <le...@php.net>: > > I've published a patch for bug #65576 : > > https://github.com/php/php-src/pull/946 > > Can you review it and merge it please ? > > Are we sure that's that correct behavior? Can you provide some > rationale for why it should happen this way? > -- Kévin Dunglas Consultant et développeur freelance http://dunglas.fr Tél. : 06 60 91 20 20