3v4l.org

run code in 300+ PHP versions simultaneously
<?php $testSite = array( 'name' => 'test site', 'modules' => array( 'foo' => 'true', 'bar' => 'true' ) ); $testData = array( 'modules' => array( 'bar' => 'false' ) ); var_dump('before', $testSite); $testSite = array_merge($testSite, $testData); var_dump('after', $testSite);

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.60.0100.00716.38
8.3.50.0100.01122.11
8.3.40.0070.00718.54
8.3.30.0070.00719.09
8.3.20.0040.00420.34
8.3.10.0040.00423.56
8.3.00.0060.00319.11
8.2.180.0160.00316.50
8.2.170.0140.00722.96
8.2.160.0080.00820.52
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00419.36
8.2.110.0040.00422.14
8.2.100.0120.00017.78
8.2.90.0040.00419.05
8.2.80.0040.00417.97
8.2.70.0050.00517.63
8.2.60.0080.00017.91
8.2.50.0030.00618.07
8.2.40.0000.00718.22
8.2.30.0040.00418.23
8.2.20.0000.00817.55
8.2.10.0050.00318.02
8.2.00.0030.00719.47
8.1.280.0130.00725.92
8.1.270.0080.00023.84
8.1.260.0000.00826.35
8.1.250.0030.00528.09
8.1.240.0060.00323.97
8.1.230.0040.00819.06
8.1.220.0060.00317.74
8.1.210.0050.00318.77
8.1.200.0030.00617.22
8.1.190.0040.00417.10
8.1.180.0090.00018.10
8.1.170.0000.00818.41
8.1.160.0000.00721.96
8.1.150.0000.00918.43
8.1.140.0040.00417.38
8.1.130.0070.00017.82
8.1.120.0050.00217.40
8.1.110.0050.00217.38
8.1.100.0030.00617.36
8.1.90.0000.00717.27
8.1.80.0000.00717.29
8.1.70.0030.00317.41
8.1.60.0040.00417.55
8.1.50.0080.00017.46
8.1.40.0030.00617.43
8.1.30.0040.00417.48
8.1.20.0040.00417.41
8.1.10.0040.00417.40
8.1.00.0000.00717.25
8.0.300.0000.00718.77
8.0.290.0000.00816.63
8.0.280.0000.00718.25
8.0.270.0000.00717.18
8.0.260.0070.00017.18
8.0.250.0030.00316.82
8.0.240.0000.00716.80
8.0.230.0000.00716.88
8.0.220.0000.00816.80
8.0.210.0030.00316.82
8.0.200.0060.00016.88
8.0.190.0000.00716.81
8.0.180.0000.00816.88
8.0.170.0000.00716.84
8.0.160.0030.00316.84
8.0.150.0040.00416.77
8.0.140.0040.00416.68
8.0.130.0090.00013.18
8.0.120.0040.00416.76
8.0.110.0000.00916.78
8.0.100.0040.00416.84
8.0.90.0040.00416.86
8.0.80.0060.00916.81
8.0.70.0060.00316.94
8.0.60.0040.00416.70
8.0.50.0000.00716.69
8.0.30.0080.01216.92
8.0.20.0110.00717.40
8.0.10.0000.00816.76
8.0.00.0060.01216.76
7.4.330.0050.00015.05
7.4.320.0000.00716.50
7.4.300.0060.00016.55
7.4.290.0000.00716.36
7.4.280.0080.00016.47
7.4.270.0040.00416.41
7.4.260.0030.00616.43
7.4.250.0040.00416.46
7.4.240.0050.00216.41
7.4.230.0030.00316.42
7.4.220.0060.00916.60
7.4.210.0100.00716.42
7.4.200.0080.00016.59
7.4.160.0090.00616.18
7.4.150.0150.00317.40
7.4.140.0120.01017.86
7.4.130.0090.00816.32
7.4.120.0070.01116.43
7.4.110.0040.01416.45
7.4.100.0150.00616.34
7.4.90.0070.01016.47
7.4.80.0140.00719.39
7.4.70.0110.00516.57
7.4.60.0090.00916.48
7.4.50.0000.00416.28
7.4.40.0110.00816.35
7.4.30.0170.00516.61
7.4.00.0030.01314.95
7.3.330.0030.00312.96
7.3.320.0030.00312.93
7.3.310.0000.00816.22
7.3.300.0000.00616.08
7.3.290.0060.00916.21
7.3.280.0110.00616.10
7.3.270.0070.01317.40
7.3.260.0110.00716.35
7.3.250.0100.00916.29
7.3.240.0070.01216.17
7.3.230.0090.00616.39
7.3.210.0140.01016.20
7.3.200.0100.01019.39
7.3.190.0110.01116.18
7.3.180.0120.00316.14
7.3.170.0090.01316.40
7.3.160.0110.00516.11
7.3.120.0070.00714.68
7.2.330.0130.00616.45
7.2.320.0070.01016.27
7.2.310.0030.01316.41
7.2.300.0030.01416.23
7.2.290.0130.01016.64
7.2.60.0080.00516.86
7.2.00.0000.01019.25
7.1.200.0070.00415.57
7.1.100.0040.00817.86
7.1.70.0000.00816.90
7.1.60.0140.01119.70
7.1.50.0140.01016.77
7.1.00.0070.07322.36
7.0.200.0000.00816.36
7.0.140.0100.06722.08
7.0.60.0030.08319.85
7.0.50.0130.07717.88
7.0.40.0030.05717.70
7.0.30.0200.05717.79
7.0.20.0200.07717.79
7.0.10.0070.08317.78
7.0.00.0100.07017.70
5.6.280.0000.07720.88
5.6.210.0100.03320.52
5.6.200.0070.07718.13
5.6.190.0030.08318.16
5.6.180.0000.08018.16
5.6.170.0200.07018.11
5.6.160.0130.07318.12
5.6.150.0070.07318.14
5.6.140.0030.04718.22
5.6.130.0130.08018.21
5.6.120.0070.08718.20
5.6.110.0000.08718.15
5.6.100.0070.08018.18
5.6.90.0030.09018.17
5.6.80.0000.08017.55
5.6.70.0070.08017.46
5.6.60.0070.07317.58
5.6.50.0130.07717.54
5.6.40.0130.06717.56
5.6.30.0070.07717.54
5.6.20.0100.05717.50
5.6.10.0000.06017.47
5.6.00.0070.07717.56
5.5.350.0000.03320.36
5.5.340.0070.08017.98
5.5.330.0100.05717.88
5.5.320.0100.05017.95
5.5.310.0100.07017.87
5.5.300.0100.05717.88
5.5.290.0030.05317.88
5.5.280.0100.04017.89
5.5.270.0130.06717.86
5.5.260.0030.06717.89
5.5.250.0100.07317.71
5.5.240.0070.07717.29
5.5.230.0170.06317.35
5.5.220.0030.07017.39
5.5.210.0100.07317.33
5.5.200.0070.07717.32
5.5.190.0170.07017.27
5.5.180.0130.06717.32
5.5.160.0000.04717.24
5.5.150.0030.08017.30
5.5.140.0100.05317.29
5.5.130.0000.05317.32
5.5.120.0170.06317.32
5.5.110.0070.07717.33
5.5.100.0070.07717.26
5.5.90.0100.03717.12
5.5.80.0030.07717.21
5.5.70.0070.08017.19
5.5.60.0170.06317.20
5.5.50.0070.06717.16
5.5.40.0070.07017.23
5.5.30.0070.07717.20
5.5.20.0000.08017.20
5.5.10.0100.05717.15
5.5.00.0070.06717.14
5.4.450.0130.07319.31
5.4.440.0100.03719.36
5.4.430.0070.06319.38
5.4.420.0070.04719.27
5.4.410.0070.06719.08
5.4.400.0000.08718.99
5.4.390.0100.06719.00
5.4.380.0300.05318.88
5.4.370.0030.08718.82
5.4.360.0100.07019.13
5.4.350.0030.08319.03
5.4.340.0030.04319.07
5.4.320.0200.05019.00
5.4.310.0030.06319.03
5.4.300.0030.04719.12
5.4.290.0130.03718.95
5.4.280.0130.07019.03
5.4.270.0100.06718.98
5.4.260.0170.06318.98
5.4.250.0170.06718.88
5.4.240.0170.05318.82
5.4.230.0130.07019.03
5.4.220.0100.04019.20
5.4.210.0100.05318.96
5.4.200.0070.08318.98
5.4.190.0100.06719.06
5.4.180.0130.07318.96
5.4.170.0030.05718.81
5.4.160.0070.07718.87
5.4.150.0070.07718.97
5.4.140.0100.06716.28
5.4.130.0130.07016.30
5.4.120.0100.07316.32
5.4.110.0100.07316.43
5.4.100.0070.04316.23
5.4.90.0030.07316.28
5.4.80.0030.04316.15
5.4.70.0030.06016.26
5.4.60.0070.06716.38
5.4.50.0100.07716.25
5.4.40.0070.06016.32
5.4.30.0000.07016.16
5.4.20.0170.05016.49
5.4.10.0070.07316.20
5.4.00.0030.06315.91
5.3.290.0100.07014.45
5.3.280.0030.07314.44
5.3.270.0100.07314.57
5.3.260.0000.08314.57
5.3.250.0200.06714.46
5.3.240.0030.07314.56
5.3.230.0100.07714.42
5.3.220.0030.07714.51
5.3.210.0100.07714.53
5.3.200.0070.07714.38
5.3.190.0200.06714.64
5.3.180.0100.04714.53
5.3.170.0000.06714.55
5.3.160.0030.07014.48
5.3.150.0070.06014.41
5.3.140.0100.03714.38
5.3.130.0130.03714.50
5.3.120.0130.06714.46
5.3.110.0000.06014.51
5.3.100.0100.06013.95
5.3.90.0130.06013.95
5.3.80.0100.07013.79
5.3.70.0030.04713.97
5.3.60.0000.05313.77
5.3.50.0030.06713.92
5.3.40.0070.04313.87
5.3.30.0070.03313.88
5.3.20.0100.06713.63
5.3.10.0030.07013.57
5.3.00.0100.05313.59
5.2.170.0070.06011.12
5.2.160.0030.04711.11
5.2.150.0000.06711.09
5.2.140.0030.03311.03
5.2.130.0000.05311.02
5.2.120.0030.06310.92
5.2.110.0070.05011.08
5.2.100.0030.04711.07
5.2.90.0070.02710.99
5.2.80.0030.03011.04
5.2.70.0030.03311.07
5.2.60.0030.05711.02
5.2.50.0070.05311.01
5.2.40.0000.06710.89
5.2.30.0070.06011.11
5.2.20.0030.05710.84
5.2.10.0070.04310.89
5.2.00.0100.04310.61
5.1.60.0000.0409.98
5.1.50.0030.0579.97
5.1.40.0070.0439.91
5.1.30.0070.05310.22
5.1.20.0030.04710.35
5.1.10.0070.05310.12
5.1.00.0070.04010.05
5.0.50.0130.0408.68
5.0.40.0000.0478.44
5.0.30.0000.0678.20
5.0.20.0070.0408.21
5.0.10.0070.0438.21
5.0.00.0070.0408.16
4.4.90.0070.0277.61
4.4.80.0070.0277.61
4.4.70.0030.0237.61
4.4.60.0030.0337.61
4.4.50.0030.0307.61
4.4.40.0000.0307.61
4.4.30.0000.0337.61
4.4.20.0000.0307.61
4.4.10.0000.0277.61
4.4.00.0030.0477.61
4.3.110.0030.0307.61
4.3.100.0000.0377.61
4.3.90.0070.0337.61
4.3.80.0000.0407.61
4.3.70.0100.0137.61
4.3.60.0070.0277.61
4.3.50.0030.0337.61
4.3.40.0100.0477.61
4.3.30.0030.0207.61
4.3.20.0000.0277.61
4.3.10.0030.0177.61
4.3.00.0000.0177.61

preferences:
48.43 ms | 401 KiB | 5 Q