3v4l.org

run code in 300+ PHP versions simultaneously
<?php $title = array("Title", "Author" , "Publisher") $detail = array('The Cuckoos Calling','Robert Galbraith','Little Brown'); $result = array array_combine($title , $detail); print_r($result); ?>

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.320.0100.07019.13
5.4.310.0130.03319.17
5.4.300.1130.06018.86
5.4.290.2000.03719.00
5.4.280.1970.04019.22
5.4.270.2070.04018.98
5.4.260.2200.03719.16
5.4.250.2170.04018.95
5.4.240.2170.04719.21
5.4.230.1970.03318.99
5.4.220.2230.03318.98
5.4.210.2230.03719.18
5.4.200.2270.03719.07
5.4.190.2000.04018.83
5.4.180.2270.04018.97
5.4.170.2170.04318.96
5.4.160.2270.03719.26
5.4.150.1970.03719.13
5.4.140.1970.03716.29
5.4.130.2200.04316.28
5.4.120.1930.03716.35
5.4.110.2170.04316.52
5.4.100.2200.04016.30
5.4.90.1930.03716.56
5.4.80.0100.06016.18
5.4.70.0100.06316.44
5.4.60.0100.04016.43
5.4.50.1200.04316.17
5.4.40.2100.02716.52
5.4.30.2530.03716.37
5.4.20.2030.04016.43
5.4.10.2370.04316.37
5.4.00.2070.03315.84
5.3.290.2000.04314.61
5.3.280.2030.03314.58
5.3.270.2130.03714.45
5.3.260.2070.03714.48
5.3.250.2030.03714.54
5.3.240.2000.03714.56
5.3.230.2030.03714.44
5.3.220.2130.04014.43
5.3.210.2000.03714.40
5.3.200.2030.03314.66
5.3.190.1970.04014.44
5.3.180.2100.03314.50
5.3.170.2000.03714.47
5.3.160.1930.04314.39
5.3.150.2070.03314.48
5.3.140.2200.03714.41
5.3.130.2200.03714.56
5.3.120.2000.03714.53
5.3.110.2000.04014.50
5.3.100.2000.03314.02
5.3.90.2330.04313.87
5.3.80.2100.04313.97
5.3.70.1830.05014.01
5.3.60.1970.03713.86
5.3.50.1830.03313.82
5.3.40.1970.03713.85
5.3.30.2400.04013.80
5.3.20.2470.04013.78
5.3.10.2130.02713.50
5.3.00.2000.03013.41
5.2.170.1630.03011.15
5.2.160.1670.02311.08
5.2.150.1630.03011.23
5.2.140.1970.02711.07
5.2.130.1570.03711.18
5.2.120.1430.03310.94
5.2.110.1530.02311.26
5.2.100.1470.03010.99
5.2.90.1630.02710.96
5.2.80.1670.02710.94
5.2.70.1470.03011.10
5.2.60.1630.03010.93
5.2.50.1670.03011.09
5.2.40.1330.02310.83
5.2.30.1570.03010.81
5.2.20.1470.02710.85
5.2.10.1330.02710.80
5.2.00.1370.02010.88
5.1.60.1370.02010.11
5.1.50.1430.0339.87
5.1.40.1300.0279.96
5.1.30.1300.03010.41
5.1.20.1370.02710.41
5.1.10.1430.02710.22
5.1.00.1400.0209.93
5.0.50.0830.0278.81
5.0.40.0800.0208.81
5.0.30.0870.0478.81
5.0.20.0730.0208.81
5.0.10.0870.0308.81
5.0.00.0770.0338.81
4.4.90.0670.0138.81
4.4.80.0730.0208.81
4.4.70.0870.0208.81
4.4.60.0830.0238.81
4.4.50.0770.0178.81
4.4.40.0770.0308.81
4.4.30.1130.0178.81
4.4.20.0570.0208.81
4.4.10.0830.0178.81
4.4.00.0770.0408.81
4.3.110.0700.0138.81
4.3.100.0430.0208.81
4.3.90.0000.0178.81
4.3.80.0000.0278.81
4.3.70.0000.0138.81
4.3.60.0030.0108.81
4.3.50.0030.0208.81
4.3.40.0000.0238.81
4.3.30.0000.0178.81
4.3.20.0030.0138.81
4.3.10.0000.0208.81
4.3.00.0000.0138.81

preferences:
134.77 ms | 1394 KiB | 7 Q