localisation: Make PHP cache files slimmer
authorSeb35 <seb35@seb35.fr>
Sun, 23 Sep 2018 22:52:56 +0000 (00:52 +0200)
committerKrinkle <krinklemail@gmail.com>
Thu, 20 Dec 2018 21:58:23 +0000 (21:58 +0000)
commit1cb8f5bff84bff539f4af99750a065c79304e7c0
tree5cc57031a40ca6d4ba248c5211323b6c9c473f1a
parent508c30e38fe1db714f3bd99478c811b4094a9f7f
localisation: Make PHP cache files slimmer

The only difference is the scalar values are no longer encoded as an
array, but just the value itself. As a result, PHP localisation cache
files are about 2/3rds of their previous size and become slightly
smaller than CDB files.

Bug: T99740
Change-Id: Iaa5e32830dc1bb710b9e0f1a681afe91e521ece9
includes/cache/localisation/LCStoreStaticArray.php