- mt_rand: documentation ( source)
- str_repeat: documentation ( source)
- json_encode: documentation ( source)
- gzcompress: documentation ( source)
<?php
$val = [str_repeat(mt_rand(), 30)];
strlen(json_encode($val));
strlen(gzcompress(json_encode($val)));