3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array_combine(range(0,450),range(0,450)); echo '<pre>' print_r($array); echo '</pre>';

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.110.3370.04016.40
5.4.100.3200.03316.47
5.4.90.3330.03716.45
5.4.80.3430.03316.36
5.4.70.3670.04016.17
5.4.60.3730.03316.25
5.4.50.3500.03316.43
5.4.40.3530.03716.43
5.4.30.3300.03016.37
5.4.20.3230.03316.34
5.4.10.3730.05316.43
5.4.00.3230.03315.75
5.3.210.3230.04014.45
5.3.200.3100.03314.50
5.3.190.3070.04014.45
5.3.180.3670.04014.54
5.3.170.3300.03014.41
5.3.160.3170.04014.44
5.3.150.3770.04314.47
5.3.140.3500.04314.50
5.3.130.3270.03714.40
5.3.120.3230.03714.47
5.3.110.3470.04714.45
5.3.100.3570.03313.88
5.3.90.3370.04313.97
5.3.80.3070.03313.93
5.3.70.3870.04013.90
5.3.60.3600.03313.95
5.3.50.3400.03713.79
5.3.40.3830.03713.90
5.3.30.3800.03313.84
5.3.20.3470.03713.63
5.3.10.3330.03313.49
5.3.00.3570.04013.55
5.2.170.2470.03311.01
5.2.160.2870.03010.99
5.2.150.2700.02711.30
5.2.140.2930.02311.19
5.2.130.2830.02711.26
5.2.120.2800.03011.12
5.2.110.2830.03011.11
5.2.100.2130.03311.11
5.2.90.0030.02710.96
5.2.80.0000.04010.96
5.2.70.0070.02710.98
5.2.60.0570.03311.14
5.2.50.3130.03310.95
5.2.40.2330.03011.01
5.2.30.2270.02710.86
5.2.20.2530.02310.86
5.2.10.2270.03010.76
5.2.00.2130.02710.70
5.1.60.2330.0279.91
5.1.50.2230.02010.08
5.1.40.2270.02310.09
5.1.30.2300.01710.49
5.1.20.2170.02310.26
5.1.10.2170.02710.07
5.1.00.1800.02010.18
5.0.50.1200.0208.59
5.0.40.1130.0208.29
5.0.30.1170.0308.16
5.0.20.1300.0138.11
5.0.10.1230.0238.15
5.0.00.1200.0278.02
4.4.90.0030.0176.54
4.4.80.1300.0206.54
4.4.70.1130.0176.54
4.4.60.1100.0176.54
4.4.50.1230.0106.54
4.4.40.1100.0236.54
4.4.30.1070.0176.54
4.4.20.1070.0176.54
4.4.10.1130.0176.54
4.4.00.1430.0206.25
4.3.110.1200.0176.25
4.3.100.1130.0136.25
4.3.90.1230.0176.26
4.3.80.1230.0176.27
4.3.70.1400.0136.28
4.3.60.1270.0176.29
4.3.50.1270.0136.29
4.3.40.1100.0276.32
4.3.30.0570.0176.32
4.3.20.0000.0206.32
4.3.10.0000.0176.32
4.3.00.0000.0206.32

preferences:
136.77 ms | 1394 KiB | 7 Q