3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array("1" => "PHP code tester Sandbox Online", "foo" => "bar", 5 , 5 => 89009, "case" => "Random Stuff", "PHP Version" => phpversion() ); $serialized = serialize($array); var_dump(unserialize($serialized));<?php

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).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.230.0130.04912.37
5.4.220.0130.04012.37
5.4.210.0180.07112.37
5.4.200.0120.05112.37
5.4.190.0120.04612.37
5.4.180.0110.04812.37
5.4.170.0180.05612.38
5.4.160.0100.04912.37
5.4.150.0150.04212.37
5.4.140.0080.04712.05
5.4.130.0130.03912.04
5.4.120.0120.03812.00
5.4.110.0090.04512.00
5.4.100.0100.04112.00
5.4.90.0120.05712.00
5.4.80.0130.04112.00
5.4.70.0150.05012.00
5.4.60.0120.04411.99
5.4.50.0100.04212.00
5.4.40.0110.03811.98
5.4.30.0100.03911.98
5.4.20.0170.04711.97
5.4.10.0120.03811.98
5.4.00.0110.04011.47
5.3.280.0130.04112.71
5.3.270.0110.04212.72
5.3.260.0110.04312.72
5.3.250.0080.04412.72
5.3.240.0100.04112.72
5.3.230.0110.04512.71
5.3.220.0130.03812.68
5.3.210.0100.04312.68
5.3.200.0180.03912.68
5.3.190.0150.04512.68
5.3.180.0120.04312.67
5.3.170.0130.03912.67
5.3.160.0120.04212.68
5.3.150.0140.03912.67
5.3.140.0130.03812.66
5.3.130.0120.04312.66
5.3.120.0120.04312.66
5.3.110.0100.04512.66
5.3.100.0110.04312.12
5.3.90.0150.06912.08
5.3.80.0120.03912.08
5.3.70.0120.03812.07
5.3.60.0110.04312.06
5.3.50.0120.03912.00
5.3.40.0130.03912.00
5.3.30.0120.03811.95
5.3.20.0110.04111.71
5.3.10.0090.04211.68
5.3.00.0100.04111.67

preferences:
143.56 ms | 1394 KiB | 7 Q