--TEST-- Bug #30791 magic methods (__sleep/__wakeup/__toString) call __call if object is overloaded --FILE-- --EXPECT-- Object id #1 Object id #2 object(a)#2 (1) { ["a"]=> int(4) }