+ if (file_exists($deprecationsFile)) {
+ $deprecations = file_get_contents($deprecationsFile);
+ unlink($deprecationsFile);
+ foreach ($deprecations ? unserialize($deprecations) : array() as $deprecation) {
+ if ($deprecation[0]) {
+ @trigger_error($deprecation[1], E_USER_DEPRECATED);
+ } else {
+ @trigger_error($deprecation[1], E_USER_DEPRECATED);
+ }
+ }
+ }
+