[Debug] fix #10313: FlattenException not found because of https://bugs.php.net/42098