3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo var_export(array('type' => 'object', 'properties' => array('one' => 'one')) + array('properties' => array('two' => 'two'))); echo var_export(array_merge(array('type' => 'object', 'properties' => array('one' => 'one')), array('properties' => array('two' => 'two'))));

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)
8.3.40.0070.00718.71
8.3.30.0000.01419.02
8.3.20.0040.00820.21
8.3.10.0070.00022.04
8.3.00.0080.00022.43
8.2.170.0070.00722.96
8.2.160.0030.01020.35
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0130.00626.16
8.2.120.0080.00017.63
8.2.110.0100.00022.26
8.2.100.0120.00017.66
8.2.90.0040.00419.22
8.2.80.0060.00317.97
8.2.70.0040.00417.38
8.2.60.0080.00017.79
8.2.50.0080.00018.07
8.2.40.0060.00318.09
8.2.30.0030.00518.05
8.2.20.0000.00717.59
8.2.10.0000.00819.33
8.2.00.0030.00717.41
8.1.270.0000.00822.02
8.1.260.0000.01526.35
8.1.250.0130.00328.09
8.1.240.0000.00923.83
8.1.230.0060.00619.12
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0050.00517.00
8.1.190.0040.00417.27
8.1.180.0000.00818.10
8.1.170.0070.00418.58
8.1.160.0040.00421.92
8.1.150.0050.00218.54
8.1.140.0000.00717.34
8.1.130.0000.00717.78
8.1.120.0000.00717.31
8.1.110.0000.00717.19
8.1.100.0050.00217.30
8.1.90.0000.00717.22
8.1.80.0030.00517.34
8.1.70.0040.00417.28
8.1.60.0030.00517.45
8.1.50.0030.00617.39
8.1.40.0000.00717.27
8.1.30.0060.00317.39
8.1.20.0080.00017.55
8.1.10.0020.00517.43
8.1.00.0000.00817.43
8.0.300.0040.00418.77
8.0.290.0040.00417.05
8.0.280.0050.00318.24
8.0.270.0050.00317.06
8.0.260.0000.00716.81
8.0.250.0050.00216.80
8.0.240.0000.00816.78
8.0.230.0000.00716.83
8.0.220.0000.00716.86
8.0.210.0000.00716.82
8.0.200.0000.00616.76
8.0.190.0030.00316.86
8.0.180.0030.00616.70
8.0.170.0040.00416.74
8.0.160.0000.00816.70
8.0.150.0000.00716.79
8.0.140.0060.00316.81
8.0.130.0070.00013.23
8.0.120.0050.00316.66
8.0.110.0040.00416.86
8.0.100.0030.00316.87
8.0.90.0040.00416.82
8.0.80.0150.00616.79
8.0.70.0040.00416.73
8.0.60.0030.00516.76
8.0.50.0050.00216.85
8.0.30.0080.01216.77
8.0.20.0130.00517.40
8.0.10.0040.00417.00
8.0.00.0100.01316.51
7.4.330.0030.00315.00
7.4.320.0040.00416.37
7.4.300.0040.00416.45
7.4.290.0000.00716.50
7.4.280.0070.00016.45
7.4.270.0060.00316.29
7.4.260.0000.00716.35
7.4.250.0050.00516.41
7.4.240.0050.00216.51
7.4.230.0030.00316.16
7.4.220.0190.00616.55
7.4.210.0080.00716.37
7.4.200.0080.00016.47
7.4.190.0000.00716.25
7.4.160.0130.00316.50
7.4.150.0100.00617.40
7.4.140.0050.01217.86
7.4.130.0090.00916.48
7.4.120.0140.00316.32
7.4.110.0110.00716.36
7.4.100.0080.01116.54
7.4.90.0100.00716.41
7.4.80.0070.01016.20
7.4.70.0130.00316.41
7.4.60.0040.01316.33
7.4.50.0040.00416.24
7.4.40.0120.00022.77
7.4.30.0050.01016.52
7.4.00.0060.01214.69
7.3.330.0030.00312.88
7.3.320.0000.00512.94
7.3.310.0030.00316.05
7.3.300.0030.00316.11
7.3.290.0080.00816.10
7.3.280.0070.01216.11
7.3.270.0120.00817.40
7.3.260.0110.00716.00
7.3.250.0090.01516.17
7.3.240.0160.00016.31
7.3.230.0040.01516.39
7.3.210.0130.00416.52
7.3.200.0110.00919.39
7.3.190.0100.00916.18
7.3.180.0070.01016.45
7.3.170.0110.00416.27
7.3.160.0090.00616.25
7.3.120.0040.00414.37
7.2.330.0060.01216.55
7.2.320.0090.01216.19
7.2.310.0110.00616.53
7.2.300.0090.01316.31
7.2.290.0140.00316.46
7.2.60.0040.00916.83
7.2.00.0040.00819.25
7.1.200.0080.00415.68
7.1.100.0070.00417.73
7.1.70.0040.00416.82
7.1.60.0070.01719.82
7.1.50.0070.00716.82
7.1.00.0030.09022.36
7.0.200.0040.00716.34
7.0.140.0070.06322.09
7.0.100.0030.04719.91
7.0.90.0130.04320.02
7.0.80.0100.09019.97
7.0.70.0330.05719.88
7.0.60.0030.04720.05
7.0.50.0130.06320.29
7.0.40.0130.04020.10
7.0.30.0000.09020.08
7.0.20.0070.04020.09
7.0.10.0030.04320.02
7.0.00.0070.04720.14
5.6.280.0070.06720.99
5.6.250.0030.07020.62
5.6.240.0030.08020.61
5.6.230.0100.06720.62
5.6.220.0170.07320.64
5.6.210.0000.07720.54
5.6.200.0130.03721.14
5.6.190.0100.07721.02
5.6.180.0070.04721.08
5.6.170.0170.03721.13
5.6.160.0170.03021.04
5.6.150.0030.04321.16
5.6.140.0130.03321.04
5.6.130.0030.04720.95
5.6.120.0070.05021.00
5.6.110.0000.04720.93
5.6.100.0070.05021.09
5.6.90.0000.04721.00
5.6.80.0000.04320.55
5.6.70.0070.03320.46
5.6.60.0030.05020.38
5.6.50.0070.07720.48
5.6.40.0070.04020.39
5.6.30.0030.04320.43
5.6.20.0000.03720.52
5.6.10.0070.03720.49
5.6.00.0030.04320.29
5.5.380.0030.04320.49
5.5.370.0170.07720.49
5.5.360.0100.06320.41
5.5.350.0030.05320.45
5.5.340.0000.06720.82
5.5.330.0070.05320.80
5.5.320.0000.04720.79
5.5.310.0130.06320.80
5.5.300.0070.05320.77
5.5.290.0030.04320.92
5.5.280.0100.05720.86
5.5.270.0030.05020.91
5.5.260.0030.06020.82
5.5.250.0200.06720.69
5.5.240.0030.04020.29
5.5.230.0100.02720.23
5.5.220.0030.03320.17
5.5.210.0130.02320.00
5.5.200.0000.04720.17
5.5.190.0100.03720.25
5.5.180.0030.04020.22
5.5.160.0000.03720.08
5.5.150.0100.02720.18
5.5.140.0070.03320.25
5.5.130.0070.04020.23
5.5.120.0000.04020.16
5.5.110.0070.03019.98
5.5.100.0100.04020.13
5.5.90.0100.04020.05
5.5.80.0070.03720.09
5.5.70.0070.03320.16
5.5.60.0100.03020.00
5.5.50.0070.03720.05
5.5.40.0170.02319.98
5.5.30.0000.03719.92
5.5.20.0070.03720.01
5.5.10.0000.04020.13
5.5.00.0070.03019.98
5.4.450.0100.04719.46
5.4.440.0030.05319.47
5.4.430.0000.03719.39
5.4.420.0070.06719.13
5.4.410.0070.03019.01
5.4.400.0000.03719.04
5.4.390.0070.03718.81
5.4.380.0030.03319.23
5.4.370.0070.05019.03
5.4.360.0070.06318.78
5.4.350.0100.03019.09
5.4.340.0100.03718.78
5.4.320.0000.03719.03
5.4.310.0070.04019.14
5.4.300.0070.07018.81
5.4.290.0030.03319.09
5.4.280.0030.03719.03
5.4.270.0030.03018.80
5.4.260.0000.04319.11
5.4.250.0100.03318.95
5.4.240.0070.03019.06
5.4.230.0070.03019.22
5.4.220.0000.04318.98
5.4.210.0030.03319.10
5.4.200.0030.03719.04
5.4.190.0070.03319.19
5.4.180.0070.03719.13
5.4.170.0000.04019.04
5.4.160.0030.03718.88
5.4.150.0000.03318.92
5.4.140.0030.03016.35
5.4.130.0070.02716.37
5.4.120.0030.03016.36
5.4.110.0100.02716.41
5.4.100.0000.03316.16
5.4.90.0030.02716.42
5.4.80.0070.02316.29
5.4.70.0100.02716.41
5.4.60.0070.04716.30
5.4.50.0100.07016.21
5.4.40.0070.07316.37
5.4.30.0170.05016.25
5.4.20.0130.04316.28
5.4.10.0100.07016.34
5.4.00.0030.05715.70
5.3.290.0000.03314.66
5.3.280.0000.05014.54
5.3.270.0030.04014.43
5.3.260.0000.04014.42
5.3.250.0100.02314.44
5.3.240.0000.03714.56
5.3.230.0030.03014.42
5.3.220.0000.03714.56
5.3.210.0000.03314.56
5.3.200.0000.03314.42
5.3.190.0100.02714.52
5.3.180.0030.03014.55
5.3.170.0070.03714.54
5.3.160.0000.04014.50
5.3.150.0100.06314.54
5.3.140.0070.08014.54
5.3.130.0100.06714.52
5.3.120.0030.08014.50
5.3.110.0070.08014.50
5.3.100.0030.06013.96
5.3.90.0100.06313.98
5.3.80.0070.05013.89
5.3.70.0030.07713.78
5.3.60.0000.06713.96
5.3.50.0030.07013.92
5.3.40.0030.05013.90
5.3.30.0030.06313.88
5.3.20.0030.06713.68
5.3.10.0070.07013.63
5.3.00.0100.07313.62
5.2.170.0070.06711.28
5.2.160.0070.05711.28
5.2.150.0030.03011.28
5.2.140.0030.04711.28
5.2.130.0030.06011.28
5.2.120.0070.05311.28
5.2.110.0030.06311.28
5.2.100.0000.05311.28
5.2.90.0200.02011.28
5.2.80.0070.05311.28
5.2.70.0030.04311.28
5.2.60.0070.05711.28
5.2.50.0130.04711.28
5.2.40.0070.05711.28
5.2.30.0100.03711.28
5.2.20.0070.04011.28
5.2.10.0100.05711.28
5.2.00.0070.05311.28
5.1.60.0000.06011.28
5.1.50.0030.04711.28
5.1.40.0000.03011.28
5.1.30.0000.03711.28
5.1.20.0000.03011.28
5.1.10.0030.02711.28
5.1.00.0130.03711.28
5.0.50.0030.04711.28
5.0.40.0030.02011.28
5.0.30.0030.06711.28
5.0.20.0030.03711.28
5.0.10.0070.04011.28
5.0.00.0100.05011.28
4.4.90.0030.02711.28
4.4.80.0030.03311.28
4.4.70.0100.02311.28
4.4.60.0000.03711.28
4.4.50.0030.03311.28
4.4.40.0030.05711.28
4.4.30.0070.02311.28
4.4.20.0000.01711.28
4.4.10.0030.03711.28
4.4.00.0030.03711.28
4.3.110.0030.02311.28
4.3.100.0070.02711.28
4.3.90.0030.01711.28
4.3.80.0000.02711.28
4.3.70.0000.02011.28
4.3.60.0030.01311.28
4.3.50.0000.04011.28
4.3.40.0000.03711.28
4.3.30.0070.01311.28
4.3.20.0000.03711.28
4.3.10.0030.03311.28
4.3.00.0030.03311.28

preferences:
40.87 ms | 400 KiB | 5 Q