3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = array( 'foo' => 23, 'bar' => 42, 'fubar' => 23, ); unset['bar']; var_dump($test); exit;

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.280.0000.08318.98
5.4.270.0100.07319.13
5.4.260.3730.03318.99
5.4.250.3970.03718.92
5.4.240.3630.04019.05
5.4.230.4000.03718.96
5.4.220.3900.03018.87
5.4.210.3730.03718.86
5.4.200.3600.03318.84
5.4.190.3470.03719.10
5.4.180.3730.04019.04
5.4.170.3500.04019.14
5.4.160.3600.04018.94
5.4.150.3770.04318.96
5.4.140.3600.04016.37
5.4.130.3900.03716.32
5.4.120.3430.03716.27
5.4.110.3300.03716.45
5.4.100.3330.03316.50
5.4.90.3530.03316.54
5.4.80.4230.03316.53
5.4.70.3600.03016.39
5.4.60.3730.03016.51
5.4.50.3770.03016.52
5.4.40.5000.03316.37
5.4.30.4230.03716.53
5.4.20.3230.04016.42
5.4.10.3670.03316.30
5.4.00.3270.03715.82
5.3.280.3700.03314.53
5.3.270.3470.03314.54
5.3.260.3500.04314.51
5.3.250.3730.04314.54
5.3.240.3700.04314.63
5.3.230.3700.03014.45
5.3.220.3830.04014.52
5.3.210.3570.03714.48
5.3.200.3300.03314.47
5.3.190.3670.03314.50
5.3.180.3670.03714.41
5.3.170.4030.03714.51
5.3.160.3270.04014.40
5.3.150.3430.03714.65
5.3.140.4300.05014.42
5.3.130.3930.04014.50
5.3.120.3300.04014.49
5.3.110.3300.04314.38
5.3.100.3630.03713.99
5.3.90.3730.03314.00
5.3.80.3730.03714.04
5.3.70.3830.03013.86
5.3.60.4270.03013.97
5.3.50.3730.03013.90
5.3.40.3670.04013.79
5.3.30.3670.04313.86
5.3.20.3500.03713.61
5.3.10.3570.03313.52
5.3.00.3830.04313.47
5.2.170.3670.03311.16
5.2.160.3100.02711.18
5.2.150.3100.03311.19
5.2.140.3000.03710.98
5.2.130.3030.02711.27
5.2.120.3100.03310.96
5.2.110.3030.03310.95
5.2.100.3170.02710.95
5.2.90.2800.03010.96
5.2.80.3200.03711.14
5.2.70.2870.03010.93
5.2.60.2800.02711.06
5.2.50.2700.03310.98
5.2.40.2300.02011.14
5.2.30.2230.02710.82
5.2.20.2200.03311.00
5.2.10.1900.03010.90
5.2.00.2330.03010.63
5.1.60.2170.0279.91
5.1.50.2330.0279.89
5.1.40.2270.02310.06
5.1.30.2230.02310.33
5.1.20.2270.02710.26
5.1.10.2200.0309.93
5.1.00.2500.02710.14
5.0.50.1300.0278.46
5.0.40.1170.0208.46
5.0.30.1170.0338.46
5.0.20.1430.0278.46
5.0.10.1070.0208.46
5.0.00.1300.0308.46
4.4.90.1100.0178.46
4.4.80.1070.0178.46
4.4.70.1100.0178.46
4.4.60.0830.0178.46
4.4.50.1100.0138.46
4.4.40.0930.0308.46
4.4.30.1030.0138.46
4.4.20.1170.0078.46
4.4.10.1130.0138.46
4.4.00.1030.0278.46
4.3.110.1300.0208.46
4.3.100.1330.0178.46
4.3.90.1330.0178.46
4.3.80.1530.0278.46
4.3.70.1100.0138.46
4.3.60.1300.0178.46
4.3.50.1370.0208.46
4.3.40.1500.0278.46
4.3.30.0770.0178.46
4.3.20.0730.0278.46
4.3.10.0770.0278.46
4.3.00.0570.0208.46

preferences:
144.67 ms | 1394 KiB | 7 Q