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.0230.04718.95
5.4.310.0230.03319.16
5.4.300.0170.03718.84
5.4.290.0200.04718.84
5.4.280.0230.03319.13
5.4.270.0170.03718.83
5.4.260.0230.03719.14
5.4.250.0200.06319.15
5.4.240.0170.05019.06
5.4.230.0230.03719.09
5.4.220.0230.05718.83
5.4.210.0130.04019.16
5.4.200.0130.04018.87
5.4.190.0130.04019.30
5.4.180.0200.04718.99
5.4.170.0170.03719.21
5.4.160.0200.04718.82
5.4.150.0130.04018.98
5.4.140.0200.06016.34
5.4.130.0230.02716.45
5.4.120.0200.03016.51
5.4.110.0100.05016.59
5.4.100.0170.04016.38
5.4.90.0200.04316.67
5.4.80.0170.03316.53
5.4.70.0200.03316.54
5.4.60.0130.03716.17
5.4.50.0230.06716.36
5.4.40.0230.04016.24
5.4.30.0170.03716.48
5.4.20.0130.03716.36
5.4.10.0170.04016.51
5.4.00.0130.03715.95
5.3.290.0130.04014.60
5.3.280.0200.03314.43
5.3.270.0170.03714.46
5.3.260.0270.04014.65
5.3.250.0230.04314.48
5.3.240.0100.04314.46
5.3.230.0170.03314.47
5.3.220.0170.04314.62
5.3.210.0100.04314.45
5.3.200.0170.03714.51
5.3.190.0100.05314.51
5.3.180.0200.04314.40
5.3.170.0200.04714.53
5.3.160.0170.05314.55
5.3.150.0130.04314.52
5.3.140.0170.03714.46
5.3.130.0270.04014.50
5.3.120.0100.04714.49
5.3.110.0170.06314.40
5.3.100.0200.04313.98
5.3.90.0100.04013.98
5.3.80.0070.07714.03
5.3.70.0130.07313.95
5.3.60.0170.04013.99
5.3.50.0170.05713.99
5.3.40.0200.03314.06
5.3.30.0200.08013.68
5.3.20.0100.04013.61
5.3.10.0170.03313.49
5.3.00.0230.03313.59
5.2.170.0130.04311.05
5.2.160.0200.05311.08
5.2.150.0070.03711.19
5.2.140.0100.03311.16
5.2.130.0130.04010.97
5.2.120.0170.03011.00
5.2.110.0200.06011.11
5.2.100.0100.03311.15
5.2.90.0130.06011.26
5.2.80.0170.03011.11
5.2.70.0170.03311.04
5.2.60.0200.05011.10
5.2.50.0200.05711.07
5.2.40.0170.06010.87
5.2.30.0230.02710.98
5.2.20.0130.03310.86
5.2.10.0100.02710.76
5.2.00.0170.03310.66
5.1.60.0100.02310.07
5.1.50.0100.02310.07
5.1.40.0130.0409.86
5.1.30.0070.03010.27
5.1.20.0070.03310.35
5.1.10.0170.05010.23
5.1.00.0130.02010.05
5.0.50.0070.0209.19
5.0.40.0100.0339.19
5.0.30.0070.0479.19
5.0.20.0030.0279.19
5.0.10.0070.0209.19
5.0.00.0030.0379.19
4.4.90.0030.0239.19
4.4.80.0130.0209.19
4.4.70.0100.0209.19
4.4.60.0030.0379.19
4.4.50.0100.0209.19
4.4.40.0070.0239.19
4.4.30.0030.0179.19
4.4.20.0070.0179.19
4.4.10.0030.0179.19
4.4.00.0100.0239.19
4.3.110.0030.0179.19
4.3.100.0070.0139.19
4.3.90.0100.0309.19
4.3.80.0070.0539.19
4.3.70.0070.0209.19
4.3.60.0000.0339.19
4.3.50.0000.0279.19
4.3.40.0000.0539.19
4.3.30.0070.0139.19
4.3.20.0000.0209.19
4.3.10.0070.0139.19
4.3.00.0000.0379.19

preferences:
136.87 ms | 1398 KiB | 7 Q