3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { protected static $holder = array(); public static function method() { Test::holder = array('one' => 'item'); } }

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.260.0100.05318.71
5.4.250.0070.05718.84
5.4.240.0100.05318.71
5.4.230.0070.05318.62
5.4.220.0170.06318.68
5.4.210.0100.05718.86
5.4.200.0170.05318.86
5.4.190.0100.06318.80
5.4.180.0070.05318.87
5.4.170.0100.05318.84
5.4.160.0100.05018.97
5.4.150.0170.04718.76
5.4.140.0100.05016.43
5.4.130.0100.06716.34
5.4.120.0070.07316.57
5.4.110.0130.06716.38
5.4.100.0070.04716.31
5.4.90.0170.06716.56
5.4.80.0070.04716.29
5.4.70.0170.03716.49
5.4.60.0130.05716.52
5.4.50.0100.04316.61
5.4.40.0070.05316.48
5.4.30.0200.03716.32
5.4.20.0070.04716.61
5.4.10.0100.04716.46
5.4.00.0100.04315.88
5.3.280.0130.05314.73
5.3.270.0100.04714.67
5.3.260.0100.05014.66
5.3.250.0030.05714.70
5.3.240.0030.06714.78
5.3.230.0100.05714.68
5.3.220.0100.04714.57
5.3.210.0130.05714.40
5.3.200.0130.05314.64
5.3.190.0030.05314.72
5.3.180.0100.05314.55
5.3.170.0170.05314.64
5.3.160.0030.05014.55
5.3.150.0070.05314.78
5.3.140.0070.04714.54
5.3.130.0200.04014.38
5.3.120.0100.04714.63
5.3.110.0030.05314.53
5.3.100.0070.05014.02
5.3.90.0130.04314.02
5.3.80.0130.06014.10
5.3.70.0170.05314.11
5.3.60.0070.05314.08
5.3.50.0130.06013.94
5.3.40.0100.04713.95
5.3.30.0130.05313.81
5.3.20.0170.04713.77
5.3.10.0130.04013.72
5.3.00.0100.04713.62

preferences:
142.2 ms | 1394 KiB | 7 Q