[Bug 56707] AppDB PHP8 rewrite