3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array ('title' => 'Header', 'text' => 'input'); $a2 = array('title' => 'Theme'; var_dump(array_merge($a2, $a));

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.6.80.0100.07020.33
5.5.240.0030.07720.26
5.4.400.0130.06318.80
5.4.390.0470.05018.56
5.4.380.0230.05318.82
5.4.370.0200.07318.33
5.4.360.0270.06718.73
5.4.350.0170.06018.79
5.4.340.0130.06018.62
5.4.320.0130.05718.68
5.4.310.0230.05318.77
5.4.300.0230.06318.61
5.4.290.0230.07018.68
5.4.280.0130.06318.57
5.4.270.0270.05318.83
5.4.260.0230.05718.46
5.4.250.0330.05718.80
5.4.240.0230.06718.77
5.4.230.0230.05018.79
5.4.220.0270.06018.77
5.4.210.0200.05718.77
5.4.200.0100.06016.69
5.4.190.0130.05718.51
5.4.180.0200.07318.74
5.4.170.0230.05718.81
5.4.160.0300.04018.43
5.4.150.0300.05018.73
5.4.140.1430.05716.29
5.4.130.2570.04716.25
5.4.120.0430.05016.25
5.4.110.0370.05016.27
5.4.100.0200.04716.26
5.4.90.0300.06016.29
5.4.80.0500.04716.26
5.4.70.0400.05016.40
5.4.60.0230.06016.40
5.4.50.0400.04716.39
5.4.40.0300.06316.41
5.4.30.0400.05716.39
5.4.20.0570.05316.22
5.4.10.0430.05716.19
5.4.00.0300.06015.73
5.3.290.0330.07714.60
5.3.280.0330.06014.69
5.3.270.0400.07014.59
5.3.260.0500.06314.54
5.3.250.0500.06014.58
5.3.240.0530.05714.70
5.3.230.0330.06714.63
5.3.220.0330.04714.50
5.3.210.0330.05314.52
5.3.200.0430.05014.49
5.3.190.0330.06314.66
5.3.180.0370.05014.59
5.3.170.0430.05314.48
5.3.160.0270.05714.66
5.3.150.0200.06314.57
5.3.140.0270.07014.65
5.3.130.0400.06014.58
5.3.120.0300.06314.45
5.3.110.0230.06714.55
5.3.100.0370.05314.14
5.3.90.0300.07313.99
5.3.80.0330.06314.12
5.3.70.0470.05314.00
5.3.60.0470.07714.08
5.3.50.0630.05713.97
5.3.40.0500.06314.02
5.3.30.0300.06713.84
5.3.20.0500.05313.68
5.3.10.0270.05713.69
5.3.00.0430.05313.63
5.2.170.0270.06311.11
5.2.160.0300.05311.28
5.2.150.0400.04011.14
5.2.140.0330.04711.09
5.2.130.0330.04311.04
5.2.120.0270.05711.14
5.2.110.0330.05311.05
5.2.100.0370.04311.08
5.2.90.0300.04311.11
5.2.80.0200.04711.13
5.2.70.0400.03711.14
5.2.60.0430.04011.08
5.2.50.0330.04710.99
5.2.40.0430.02710.98
5.2.30.0330.05011.03
5.2.20.0200.05310.95
5.2.10.0230.06010.96
5.2.00.0430.03310.74
5.1.60.0270.04010.02
5.1.50.0270.03310.13
5.1.40.0330.0439.95
5.1.30.0370.04710.49
5.1.20.0370.04010.41
5.1.10.0230.04710.13
5.1.00.0200.04010.09
5.0.50.0170.0308.67
5.0.40.0100.0408.54
5.0.30.0130.0578.36
5.0.20.0130.0278.31
5.0.10.0170.0278.16
5.0.00.0130.0538.18
4.4.90.0100.0305.91
4.4.80.0030.0275.85
4.4.70.0100.0305.94
4.4.60.0130.0205.85
4.4.50.0100.0235.88
4.4.40.0100.0435.87
4.4.30.0100.0235.91
4.4.20.0100.0235.95
4.4.10.0130.0205.98
4.4.00.0030.0405.85
4.3.110.0170.0175.75
4.3.100.0100.0205.80
4.3.90.0070.0335.80
4.3.80.0070.0375.89
4.3.70.0070.0235.78
4.3.60.0170.0235.78
4.3.50.0030.0305.77
4.3.40.0070.0405.84
4.3.30.0070.0234.71
4.3.20.0030.0274.71
4.3.10.0070.0204.71
4.3.00.0030.0207.32

preferences:
128.09 ms | 1398 KiB | 7 Q