3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(strlen(serialize($GLOBALS)));
Output for 7.1.0
int(705)
Output for 7.0.14
int(706)
Output for 7.0.0 - 7.0.6
int(713)
Output for 5.5.0 - 5.5.3, 5.5.5 - 5.5.10, 5.5.12, 5.5.14 - 5.5.29, 5.5.31 - 5.6.7, 5.6.9, 5.6.12 - 5.6.21
int(2135)
Output for 5.5.4, 5.5.11, 5.5.13, 5.5.30, 5.6.10 - 5.6.11
int(2132)
Output for 5.6.8
int(2129)
Output for 5.4.5, 5.4.7, 5.4.10, 5.4.12 - 5.4.13, 5.4.17, 5.4.21 - 5.4.24, 5.4.26 - 5.4.29, 5.4.31, 5.4.34, 5.4.39, 5.4.43, 5.4.45
int(2111)
Output for 5.4.1, 5.4.3 - 5.4.4, 5.4.6, 5.4.8 - 5.4.9, 5.4.11, 5.4.14 - 5.4.16, 5.4.18 - 5.4.20, 5.4.25, 5.4.30, 5.4.32, 5.4.35 - 5.4.38, 5.4.40 - 5.4.42, 5.4.44
int(2114)
Output for 5.4.0, 5.4.2
int(2108)
Output for 5.2.3 - 5.3.29
int(5474)
Output for 5.2.1 - 5.2.2
int(4574)
Output for 5.1.0 - 5.2.0
int(3050)
Output for 4.3.2 - 5.0.5
int(2918)
Output for 4.3.0 - 4.3.1
int(2952)