run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = "a:3:{i:0;i:35928;i:1;i:36158;i:2;i:36164;}"; $b = unserialize($a); var_dump($b); $c = [35928, 36164]; echo serialize($c);
based on IvogP

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)