For rationale, see #6787 Extensions migrated in part 3: * ftp * gmp * iconv * opcache * shmop
We should use normal function renaming if the function is declared during preloading itself, rather than afterwards. This fixes a regression introduced by 68f80be9d1.
68f80be9d1