--- /dev/null
+--TEST--
+Bug #47801 (__call() accessed via parent:: operator is provided incorrect method name)
+--FILE--
+<?php
+
+class A
+{
+ function __call($name, $args)
+ {
+ echo("magic method called: $name\n");
+ }
+}
+
+class B extends A
+{
+ function getFoo()
+ {
+ parent::getFoo();
+ }
+}
+
+$a = new A();
+$a->getFoo();
+
+$b = new B();
+$b->getFoo();
+
+?>
+--EXPECT--
+magic method called: getFoo
+magic method called: getFoo
--- /dev/null
+--TEST--
+Bug #46108 (DateTime - Memory leak when unserializing)
+--FILE--
+<?php
+
+date_default_timezone_set('America/Sao_Paulo');
+
+var_dump(unserialize(serialize(new Datetime)));
+
+?>
+--EXPECTF--
+object(DateTime)#%d (3) {
+ [%u|b%"date"]=>
+ %string|unicode%(%d) "%s"
+ [%u|b%"timezone_type"]=>
+ int(%d)
+ [%u|b%"timezone"]=>
+ %string|unicode%(%d) "America/Sao_Paulo"
+}