Magic methods called twice for unset protected properties

 [2012-11-08 05:40 UTC] ocramius at gmail dot com

Description:
------------
When un-setting a private or protected property of an object, magic methods get called twice when that property is accessed.

Test script:
---------------
https://gist.github.com/4037010
(will provide PR with the test later)

Expected result:
----------------
Each of the magic methods presented in the test script should be called only once per checked property. 

Actual result:
--------------
Each of the magic methods are called twice for private or protected properties that were unset.

 [2012-12-19 06:40 UTC] dmitry@php.net

-Status: Open +Status: Assigned -Assigned To: +Assigned To: dmitry

 [2013-01-18 21:48 UTC] stas@php.net

-Status: Assigned +Status: Closed