Setup: Move mb_internal_encoding() call earlier
authorTimo Tijhof <krinklemail@gmail.com>
Sat, 13 Jul 2019 00:46:56 +0000 (01:46 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Sat, 13 Jul 2019 00:48:11 +0000 (01:48 +0100)
commit6612e4867f60fc1a8bced67bcf7489d24e2db675
treed60deb3f83a68d385df0195484af91b79018128a
parentdc8f3ec4ffbf2176d0a9a16b713f994cafb39af7
Setup: Move mb_internal_encoding() call earlier

This is an unconditional and unconfigurable changes to PHP behaviour.
The earlier the better so that there is less code that can run
without it.

Also improve some documentation of other setup logic bits being
documented by the referenced task.

Bug: T189966
Change-Id: Ia8e1478cf0841d80b1c61c266f2ece75be2303e1
includes/Setup.php