3v4l.org

run code in 300+ PHP versions simultaneously
<?php const foo = [123]; print_r(foo);

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.4.20.0110.01117.38
8.4.10.0000.00917.48
8.3.150.0150.00420.68
8.3.140.0160.00316.65
8.3.130.0000.00816.70
8.3.120.0090.00918.90
8.3.110.0070.01116.50
8.3.100.0000.01116.41
8.3.90.0070.00726.77
8.3.80.0070.00318.56
8.3.70.0070.00718.56
8.3.60.0090.00616.50
8.3.50.0080.01221.08
8.3.40.0110.00418.54
8.3.30.0000.01418.60
8.3.20.0060.00318.35
8.3.10.0040.00419.84
8.3.00.0050.00317.68
8.2.270.0040.00419.07
8.2.260.0050.00318.13
8.2.250.0030.00516.46
8.2.240.0140.01017.10
8.2.230.0030.00620.94
8.2.220.0040.00437.54
8.2.210.0060.00326.77
8.2.200.0090.00018.04
8.2.190.0110.00418.04
8.2.180.0030.01716.63
8.2.170.0110.00422.96
8.2.160.0070.00718.95
8.2.150.0100.00325.66
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0100.00719.72
8.2.110.0070.00321.00
8.2.100.0000.01117.78
8.2.90.0000.00817.91
8.2.80.0040.00417.97
8.2.70.0050.00317.38
8.2.60.0050.00317.92
8.2.50.0090.00018.07
8.2.40.0000.00919.76
8.2.30.0030.00617.98
8.2.20.0060.00317.61
8.2.10.0040.00417.98
8.2.00.0000.00718.04
8.1.310.0140.00416.39
8.1.300.0050.00315.99
8.1.290.0060.00330.84
8.1.280.0070.00725.92
8.1.270.0070.00023.76
8.1.260.0040.00426.35
8.1.250.0030.00528.09
8.1.240.0090.00020.94
8.1.230.0100.00020.96
8.1.220.0030.00517.74
8.1.210.0000.00818.77
8.1.200.0030.00717.25
8.1.190.0080.00017.23
8.1.180.0030.00518.10
8.1.170.0000.00818.74
8.1.160.0040.00418.81
8.1.150.0000.00818.86
8.1.140.0050.00319.46
8.1.130.0000.00717.48
8.1.120.0030.00517.41
8.1.110.0000.00817.27
8.1.100.0040.00417.44
8.1.90.0040.00417.46
8.1.80.0030.00617.33
8.1.70.0000.00717.41
8.1.60.0000.00717.40
8.1.50.0040.00417.35
8.1.40.0040.00417.47
8.1.30.0000.00817.64
8.1.20.0000.00717.48
8.1.10.0030.00517.44
8.1.00.0080.00017.29
8.0.300.0030.00319.86
8.0.290.0040.00416.63
8.0.280.0000.00718.38
8.0.270.0070.00016.63
8.0.260.0070.00016.65
8.0.250.0060.00016.77
8.0.240.0030.00516.77
8.0.230.0060.00316.93
8.0.220.0060.00316.73
8.0.210.0030.00316.70
8.0.200.0000.00616.86
8.0.190.0050.00216.88
8.0.180.0080.00016.85
8.0.170.0050.00316.81
8.0.160.0000.00716.79
8.0.150.0040.00416.65
8.0.140.0030.00516.76
8.0.130.0000.00513.31
8.0.120.0030.00516.78
8.0.110.0040.00416.84
8.0.100.0040.00416.90
8.0.90.0030.00316.88
8.0.80.0090.00616.82
8.0.70.0040.00416.68
8.0.60.0040.00416.68
8.0.50.0040.00416.93
8.0.30.0110.00817.04
8.0.20.0080.01117.40
8.0.10.0000.00716.93
8.0.00.0120.01116.59
7.4.330.0050.00015.08
7.4.320.0060.00016.43
7.4.300.0060.00316.51
7.4.290.0050.00316.32
7.4.280.0040.00416.53
7.4.270.0000.00716.45
7.4.260.0050.00516.50
7.4.250.0040.00416.45
7.4.240.0030.00516.45
7.4.230.0030.00316.27
7.4.220.0120.00916.48
7.4.210.0160.01016.36
7.4.200.0070.00016.31
7.4.160.0070.00716.47
7.4.150.0100.01317.40
7.4.140.0110.00617.86
7.4.130.0090.01216.42
7.4.120.0070.00816.36
7.4.110.0120.00316.50
7.4.100.0030.01416.27
7.4.90.0160.00316.30
7.4.80.0030.01319.39
7.4.70.0120.00416.25
7.4.60.0130.00316.60
7.4.50.0030.00816.49
7.4.40.0030.01316.57
7.4.30.0090.00616.37
7.4.00.0090.00414.89
7.3.330.0000.00712.88
7.3.320.0020.00213.04
7.3.310.0040.00316.27
7.3.300.0030.00316.17
7.3.290.0080.00816.15
7.3.280.0090.00516.16
7.3.270.0130.00317.40
7.3.260.0120.00616.28
7.3.250.0100.00816.22
7.3.240.0120.00816.35
7.3.230.0160.00016.39
7.3.210.0030.01316.41
7.3.200.0060.01219.39
7.3.190.0070.01616.46
7.3.180.0120.00316.18
7.3.170.0110.00716.53
7.3.160.0060.00916.29
7.3.90.0100.01014.52
7.3.80.0090.00614.75
7.3.70.0140.00014.78
7.3.60.0070.00714.54
7.3.50.0120.00614.83
7.3.40.0100.00714.51
7.3.30.0060.00914.64
7.3.20.0060.00914.69
7.3.10.0150.00314.64
7.3.00.0030.01414.96
7.2.330.0070.01116.59
7.2.320.0120.00616.49
7.2.310.0080.00816.46
7.2.300.0080.00816.31
7.2.290.0060.01016.30
7.2.220.0090.00614.95
7.2.210.0070.00715.06
7.2.200.0150.00614.88
7.2.190.0100.00714.88
7.2.180.0100.01014.96
7.2.170.0110.00414.71
7.2.160.0070.01214.79
7.2.150.0100.01314.73
7.2.140.0160.00314.92
7.2.130.0120.00614.95
7.2.120.0100.00615.11
7.2.110.0130.01014.64
7.2.100.0170.00314.92
7.2.90.0110.01114.65
7.2.80.0120.00614.99
7.2.70.0100.01215.04
7.2.60.0040.01415.88
7.2.50.0170.00415.06
7.2.40.0070.01014.93
7.2.30.0140.00314.92
7.2.20.0060.01014.93
7.2.10.0080.00814.75
7.2.00.0090.00717.07
7.1.320.0090.00613.78
7.1.310.0130.00313.77
7.1.300.0030.01313.81
7.1.290.0100.01013.50
7.1.280.0100.00714.05
7.1.270.0070.01013.80
7.1.260.0100.00913.72
7.1.250.0060.01013.69
7.1.240.0110.01513.80
7.1.230.0340.00814.02
7.1.220.0140.00813.75
7.1.210.0110.01113.65
7.1.200.0150.00314.75
7.1.190.0230.00313.65
7.1.180.0200.01114.00
7.1.170.0170.00913.76
7.1.160.0190.00313.68
7.1.150.0220.00513.84
7.1.140.0120.00913.56
7.1.130.0190.00414.02
7.1.120.0180.01213.90
7.1.110.0200.00713.79
7.1.100.0180.00613.93
7.1.90.0160.01214.00
7.1.80.0190.00913.76
7.1.70.0110.00615.27
7.1.60.0060.01115.57
7.1.50.0120.00515.31
7.1.40.0120.00515.04
7.1.30.0100.00715.08
7.1.20.0100.00515.27
7.1.10.0030.01115.06
7.1.00.0100.00815.29
7.0.330.0160.00513.34
7.0.320.0190.00613.54
7.0.310.0250.00013.46
7.0.300.0180.00413.38
7.0.290.0160.00613.50
7.0.280.0210.00613.50
7.0.270.0150.00713.25
7.0.260.0230.00313.40
7.0.250.0350.01413.35
7.0.240.0130.01313.44
7.0.230.0210.00313.44
7.0.220.0180.00413.28
7.0.210.0150.00813.55
7.0.200.0070.00715.08
7.0.190.0140.00415.05
7.0.180.0030.01114.92
7.0.170.0080.00614.78
7.0.160.0090.00614.96
7.0.150.0090.00514.88
7.0.140.0090.00514.86
7.0.130.0130.00514.87
7.0.120.0140.00314.90
7.0.110.0090.00814.73
7.0.100.0120.00314.88
7.0.90.0080.00614.77
7.0.80.0460.00514.80
7.0.70.0070.00814.72
7.0.60.0090.00614.70
7.0.50.0080.00814.82
7.0.40.0090.00514.26
7.0.30.0100.00514.28
7.0.20.0080.00714.35
7.0.10.0060.00914.24
7.0.00.0080.00814.30
5.6.400.0040.01613.64
5.6.390.0100.01014.44
5.6.380.0120.00914.36
5.6.370.0100.01714.25
5.6.360.0090.01214.21
5.6.350.0090.01813.98
5.6.340.0170.00714.23
5.6.330.0080.01614.17
5.6.320.0170.00614.41
5.6.310.0090.01214.15
5.6.300.0130.02017.52
5.6.290.0090.03017.52
5.6.280.0080.03017.57
5.6.270.0070.02817.36
5.6.260.0060.02817.64
5.6.250.0070.02817.44
5.6.240.0110.03117.52
5.6.230.0080.02817.64
5.6.220.0090.02417.53
5.6.210.0060.02817.66
5.6.200.0050.03217.58
5.6.190.0040.03217.53
5.6.180.0060.02817.50
5.6.170.0110.02017.60
5.6.160.0120.02417.69
5.6.150.0080.02417.63
5.6.140.0120.02717.58
5.6.130.0090.02817.66
5.6.120.0060.03217.57
5.6.110.0140.04117.62
5.6.100.0210.02717.38
5.6.90.0120.02417.54
5.6.80.0090.02717.13
5.6.70.0070.02617.10
5.6.60.0130.02517.12
5.6.50.0140.02117.23
5.6.40.0050.03117.09
5.6.30.0150.02417.11
5.6.20.0120.02717.02
5.6.10.0110.02317.20
5.6.00.0130.02617.13
5.5.380.0130.02315.82
5.5.370.0150.01915.57
5.5.360.0090.02315.80
5.5.350.0100.02915.81
5.5.340.0140.03415.97
5.5.330.0100.02715.84
5.5.320.0110.02515.85
5.5.310.0060.04415.91
5.5.300.0090.02416.09
5.5.290.0110.02616.14
5.5.280.0070.03216.01
5.5.270.0100.02915.92
5.5.260.0140.02715.99
5.5.250.0120.02615.94
5.5.240.0100.02315.63
5.5.230.0080.02715.59
5.5.220.0110.02515.75
5.5.210.0120.02515.65
5.5.200.0080.02515.42
5.5.190.0100.02715.38
5.5.180.0110.02515.54
5.5.170.0150.00413.98
5.5.160.0140.02515.86
5.5.150.0080.02815.67
5.5.140.0140.02115.57
5.5.130.0120.02115.47
5.5.120.0120.02315.73
5.5.110.0090.02515.63
5.5.100.0110.02315.67
5.5.90.0150.03115.69
5.5.80.0020.03015.55
5.5.70.0050.02915.65
5.5.60.0080.02315.34
5.5.50.0100.02115.66
5.5.40.0060.02715.65
5.5.30.0100.02215.49
5.5.20.0060.02815.53
5.5.10.0080.02215.57
5.5.00.0120.03115.60
5.4.450.0050.02715.85
5.4.440.0090.02515.88
5.4.430.0080.02315.90
5.4.420.0070.02915.94
5.4.410.0090.01915.83
5.4.400.0100.02215.80
5.4.390.0080.02515.66
5.4.380.0070.02515.64
5.4.370.0060.02615.66
5.4.360.0080.02515.57
5.4.350.0030.02715.69
5.4.340.0100.02115.60
5.4.330.0070.00712.46
5.4.320.0140.02315.77
5.4.310.0120.02315.67
5.4.300.0050.02915.76
5.4.290.0060.02215.66
5.4.280.0050.02215.73
5.4.270.0040.03415.70
5.4.260.0050.02615.80
5.4.250.0140.03415.78
5.4.240.0030.02715.66
5.4.230.0070.02215.70
5.4.220.0020.02715.79
5.4.210.0050.02515.70
5.4.200.0070.02315.77
5.4.190.0110.02215.65
5.4.180.0080.02015.61
5.4.170.0110.01815.70
5.4.160.0070.02215.66
5.4.150.0080.02215.70
5.4.140.0050.02714.57
5.4.130.0080.02714.39
5.4.120.0080.02614.53
5.4.110.0060.02314.45
5.4.100.0050.02514.47
5.4.90.0030.02314.45
5.4.80.0050.02414.46
5.4.70.0080.02114.53
5.4.60.0060.02514.46
5.4.50.0110.01614.49
5.4.40.0090.02214.41
5.4.30.0060.02414.43
5.4.20.0070.02214.41
5.4.10.0120.02314.46
5.4.00.0070.02914.18
5.3.290.0070.02313.73
5.3.280.0080.02213.73
5.3.270.0020.02713.73
5.3.260.0080.02413.73
5.3.250.0120.02113.73
5.3.240.0070.02313.73
5.3.230.0070.02113.73
5.3.220.0040.02513.73
5.3.210.0050.02213.73
5.3.200.0090.02013.73
5.3.190.0030.02513.73
5.3.180.0050.02213.73
5.3.170.0000.02613.73
5.3.160.0080.02113.73
5.3.150.0070.02613.73
5.3.140.0040.02513.73
5.3.130.0090.02113.73
5.3.120.0050.02513.73
5.3.110.0080.02413.73
5.3.100.0070.02313.73
5.3.90.0100.01913.73
5.3.80.0080.02313.73
5.3.70.0070.02113.73
5.3.60.0100.02013.73
5.3.50.0030.02313.73
5.3.40.0130.01613.73
5.3.30.0080.02013.73
5.3.20.0100.01813.73
5.3.10.0070.02013.73
5.3.00.0080.01913.73
5.2.170.0030.01913.73
5.2.160.0060.01513.73
5.2.150.0050.01913.73
5.2.140.0040.02113.73
5.2.130.0040.01813.73
5.2.120.0020.02113.73
5.2.110.0060.01913.73
5.2.100.0080.01513.73
5.2.90.0050.01713.73
5.2.80.0080.01513.73
5.2.70.0050.02513.73
5.2.60.0050.02013.73
5.2.50.0030.02113.73
5.2.40.0020.02113.73
5.2.30.0050.02913.73
5.2.20.0120.01213.73
5.2.10.0090.01513.73
5.2.00.0040.02013.73
5.1.60.0050.01613.73
5.1.50.0030.01813.73
5.1.40.0060.01613.73
5.1.30.0040.01513.73
5.1.20.0080.01613.73
5.1.10.0070.01513.73
5.1.00.0050.01813.73
5.0.50.0050.01213.73
5.0.40.0080.01113.73
5.0.30.0000.02213.73
5.0.20.0020.01413.73
5.0.10.0000.01713.73
5.0.00.0070.01513.73
4.4.90.0020.01213.73
4.4.80.0040.01013.73
4.4.70.0020.01213.73
4.4.60.0030.01013.73
4.4.50.0060.00713.73
4.4.40.0020.01613.73
4.4.30.0060.00913.73
4.4.20.0040.00913.73
4.4.10.0020.01013.73
4.4.00.0080.01113.73
4.3.110.0060.00813.73
4.3.100.0060.00713.73
4.3.90.0030.01013.73
4.3.80.0090.01313.73
4.3.70.0050.00813.73
4.3.60.0040.01113.73
4.3.50.0050.01313.73
4.3.40.0080.01313.73
4.3.30.0020.01113.73
4.3.20.0120.00513.73
4.3.10.0050.00813.73
4.3.00.0040.00913.73

preferences:
28.08 ms | 403 KiB | 5 Q