3v4l.org

run code in 300+ PHP versions simultaneously
<?php function returnsInt() : int { return 5; } echo returnsInt();

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.0130.00919.72
8.4.10.0100.01019.50
8.3.150.0030.00619.11
8.3.140.0070.00018.29
8.3.130.0080.00016.61
8.3.120.0060.00318.80
8.3.110.0090.00020.94
8.3.100.0000.00924.06
8.3.90.0080.00026.77
8.3.80.0110.00016.38
8.3.70.0190.00316.58
8.3.60.0060.00916.63
8.3.50.0070.00718.24
8.3.40.0130.00320.52
8.3.30.0120.00318.59
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.270.0100.00316.94
8.2.260.0080.00818.38
8.2.250.0000.00818.33
8.2.240.0040.00418.95
8.2.230.0050.00222.58
8.2.220.0050.00337.54
8.2.210.0040.00426.77
8.2.200.0090.00016.25
8.2.190.0100.01018.41
8.2.180.0040.01125.92
8.2.170.0140.00718.91
8.2.160.0070.00722.96
8.2.150.0050.00325.66
8.2.140.0000.00724.66
8.2.130.0080.00026.16
8.2.120.0000.00726.16
8.2.110.0030.00619.19
8.2.100.0060.00617.72
8.2.90.0000.00819.14
8.2.80.0040.00417.97
8.2.70.0060.00317.36
8.2.60.0040.00417.90
8.2.50.0030.00618.07
8.2.40.0050.00218.22
8.2.30.0070.00017.86
8.2.20.0000.00717.96
8.2.10.0000.00822.28
8.2.00.0080.00019.09
8.1.310.0000.00818.41
8.1.300.0030.00618.29
8.1.290.0090.00030.84
8.1.280.0070.00725.92
8.1.270.0030.00623.99
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0030.00622.46
8.1.230.0110.00017.83
8.1.220.0000.00717.74
8.1.210.0030.00518.77
8.1.200.0090.00017.23
8.1.190.0090.00017.10
8.1.180.0000.00718.10
8.1.170.0060.01018.17
8.1.160.0070.00418.76
8.1.150.0040.00418.38
8.1.140.0000.00818.81
8.1.130.0060.00323.84
8.1.120.0000.00817.39
8.1.110.0000.00817.34
8.1.100.0040.00417.27
8.1.90.0070.00017.33
8.1.80.0030.00717.22
8.1.70.0030.00317.26
8.1.60.0040.00417.43
8.1.50.0000.00817.38
8.1.40.0000.01017.30
8.1.30.0030.00617.60
8.1.20.0000.00817.62
8.1.10.0050.00517.34
8.1.00.0000.00717.33
8.0.300.0000.00818.77
8.0.290.0050.00316.63
8.0.280.0030.00518.29
8.0.270.0000.00817.94
8.0.260.0050.00218.51
8.0.250.0000.00616.85
8.0.240.0000.00816.91
8.0.230.0040.00416.79
8.0.220.0030.00316.69
8.0.210.0040.00416.64
8.0.200.0030.00316.87
8.0.190.0000.00816.71
8.0.180.0060.00316.68
8.0.170.0080.00016.66
8.0.160.0000.00716.82
8.0.150.0050.00216.70
8.0.140.0080.00416.65
8.0.130.0000.00513.14
8.0.120.0000.00816.61
8.0.110.0000.00716.80
8.0.100.0000.00716.57
8.0.90.0050.00316.67
8.0.80.0060.00116.72
8.0.70.0010.00616.66
8.0.60.0040.00416.78
8.0.50.0040.00416.72
8.0.30.0020.00516.71
8.0.20.0040.00416.83
8.0.10.0030.00416.85
8.0.00.0020.00616.90
7.4.330.0030.00315.55
7.4.320.0030.00316.27
7.4.300.0000.00616.51
7.4.290.0040.00416.46
7.4.280.0040.00416.41
7.4.270.0070.00016.36
7.4.260.0060.00013.26
7.4.250.0080.00016.25
7.4.240.0030.00616.54
7.4.230.0020.00516.54
7.4.220.0030.00316.54
7.4.210.0020.00416.33
7.4.200.0000.00716.53
7.4.190.0040.00216.58
7.4.180.0020.00516.50
7.4.160.0030.00416.46
7.4.150.0050.00216.43
7.4.140.0040.00216.50
7.4.130.0050.00316.34
7.4.120.0020.00516.31
7.4.110.0000.00716.40
7.4.100.0070.00116.29
7.4.90.0040.00416.38
7.4.80.0020.00416.42
7.4.70.0010.00516.42
7.4.60.0030.00416.34
7.4.50.0030.00416.34
7.4.40.0040.00216.18
7.4.30.0010.00616.41
7.4.20.0000.00716.29
7.4.10.0050.00116.46
7.4.00.0030.00316.41
7.3.330.0000.00716.21
7.3.320.0030.00313.22
7.3.310.0040.00416.10
7.3.300.0020.00516.17
7.3.290.0050.00216.24
7.3.280.0020.00416.12
7.3.270.0040.00316.19
7.3.260.0060.00116.21
7.3.250.0060.00116.18
7.3.240.0050.00216.12
7.3.230.0010.00516.15
7.3.220.0020.00516.06
7.3.210.0050.00216.14
7.3.200.0010.00516.05
7.3.190.0040.00316.19
7.3.180.0020.00416.13
7.3.170.0020.00416.08
7.3.160.0020.00416.12
7.3.150.0030.00316.12
7.3.140.0010.00616.13
7.3.130.0010.00616.13
7.3.120.0020.00516.11
7.3.110.0020.00616.07
7.3.100.0020.00616.08
7.3.90.0050.00216.42
7.3.80.0050.00216.08
7.3.70.0030.00316.26
7.3.60.0040.00216.36
7.3.50.0010.00616.39
7.3.40.0030.00416.31
7.3.30.0010.00616.37
7.3.20.0050.00316.33
7.3.10.0060.00316.26
7.3.00.0020.00516.17
7.2.340.0050.00216.17
7.2.330.0050.00216.18
7.2.320.0030.00316.22
7.2.310.0020.00516.20
7.2.300.0000.00716.18
7.2.290.0020.00616.19
7.2.280.0020.00516.17
7.2.270.0030.00516.18
7.2.260.0030.00416.14
7.2.250.0040.00316.20
7.2.240.0020.00516.21
7.2.230.0020.00616.17
7.2.220.0040.00416.20
7.2.210.0020.00616.22
7.2.200.0060.00216.42
7.2.190.0020.00516.29
7.2.180.0020.00616.28
7.2.170.0050.00216.35
7.2.160.0000.00716.46
7.2.150.0040.00416.46
7.2.140.0040.00416.49
7.2.130.0060.00216.59
7.2.120.0040.00416.50
7.2.110.0030.00516.56
7.2.100.0050.00316.52
7.2.90.0030.00516.50
7.2.80.0040.00416.41
7.2.70.0040.00416.41
7.2.60.0050.00416.49
7.2.50.0060.00216.32
7.2.40.0040.00416.39
7.2.30.0040.00416.49
7.2.20.0080.00316.51
7.2.10.0040.00416.46
7.2.00.0060.00216.47
7.1.330.0020.00515.37
7.1.320.0030.00415.40
7.1.310.0050.00215.37
7.1.300.0040.00415.36
7.1.290.0090.00215.37
7.1.280.0020.00515.43
7.1.270.0080.00015.33
7.1.260.0020.00515.35
7.1.250.0020.00515.25
7.1.240.0040.00315.27
7.1.230.0040.00315.31
7.1.220.0060.00215.37
7.1.210.0030.00315.32
7.1.200.0050.00215.34
7.1.190.0050.00215.27
7.1.180.0040.00415.36
7.1.170.0030.00315.26
7.1.160.0050.00215.23
7.1.150.0000.00715.14
7.1.140.0040.00515.35
7.1.130.0020.00415.28
7.1.120.0020.00515.26
7.1.110.0040.00315.31
7.1.100.0030.00415.33
7.1.90.0050.00215.34
7.1.80.0020.00515.35
7.1.70.0070.00515.05
7.1.60.0000.00715.29
7.1.50.0020.00515.28
7.1.40.0030.00315.37
7.1.30.0030.00315.26
7.1.20.0050.00215.37
7.1.10.0050.00215.28
7.1.00.0050.00215.27
7.0.330.0030.00314.97
7.0.320.0030.00315.01
7.0.310.0020.00515.02
7.0.300.0060.00114.99
7.0.290.0030.00415.08
7.0.280.0030.00314.92
7.0.270.0030.00315.05
7.0.260.0090.00415.02
7.0.250.0040.00415.16
7.0.240.0000.00715.22
7.0.230.0040.00315.22
7.0.220.0040.00315.14
7.0.210.0020.00515.01
7.0.200.0050.00215.13
7.0.190.0100.00215.13
7.0.180.0030.00415.22
7.0.170.0020.00515.25
7.0.160.0040.00315.01
7.0.150.0030.00415.12
7.0.140.0030.00515.10
7.0.130.0020.00615.16
7.0.120.0030.00415.12
7.0.110.0050.00214.96
7.0.100.0050.00215.03
7.0.90.0020.00515.06
7.0.80.0030.00314.93
7.0.70.0050.00215.08
7.0.60.0060.00215.05
7.0.50.0030.00414.97
7.0.40.0050.00515.15
7.0.30.0030.00415.05
7.0.20.0010.00615.04
7.0.10.0050.00215.22
7.0.00.0020.00515.05
5.6.400.0030.00315.64
5.6.390.0040.00415.48
5.6.380.0030.00315.48
5.6.370.0020.00515.64
5.6.360.0030.00415.57
5.6.350.0040.00315.66
5.6.340.0020.00515.50
5.6.330.0030.00315.56
5.6.320.0050.00215.61
5.6.310.0020.00515.50
5.6.300.0020.00515.50
5.6.290.0000.00715.60
5.6.280.0030.00315.63
5.6.270.0050.00215.62
5.6.260.0050.00215.60
5.6.250.0000.00715.67
5.6.240.0020.00515.62
5.6.230.0030.00315.60
5.6.220.0000.00715.68
5.6.210.0020.00515.65
5.6.200.0030.00315.76
5.6.190.0030.00315.58
5.6.180.0020.00515.81
5.6.170.0030.00315.69
5.6.160.0020.00515.73
5.6.150.0050.00215.61
5.6.140.0030.00315.67
5.6.130.0050.00215.66
5.6.120.0030.00315.56
5.6.110.0050.00215.52
5.6.100.0040.00415.60
5.6.90.0050.00215.49
5.6.80.0000.00715.65
5.6.70.0020.00415.53
5.6.60.0040.00315.52
5.6.50.0030.00315.55
5.6.40.0000.00715.71
5.6.30.0030.00315.55
5.6.20.0050.00215.40
5.6.10.0000.00615.53
5.6.00.0030.00315.60
5.5.380.0040.00415.64
5.5.370.0050.00215.71
5.5.360.0050.00215.47
5.5.350.0030.00315.43
5.5.340.0040.00415.53
5.5.330.0030.00315.57
5.5.320.0020.00515.52
5.5.310.0010.00615.51
5.5.300.0020.00615.44
5.5.290.0000.00715.45
5.5.280.0020.00515.40
5.5.270.0020.00515.39
5.5.260.0050.00215.48
5.5.250.0030.00315.60
5.5.240.0030.00315.49
5.5.230.0030.00315.59
5.5.220.0000.00615.54
5.5.210.0000.00615.46
5.5.200.0030.00315.40
5.5.190.0030.00315.45
5.5.180.0020.00515.51
5.5.170.0050.00215.41
5.5.160.0000.00615.40
5.5.150.0050.00215.38
5.5.140.0030.00315.33
5.5.130.0000.00615.27
5.5.120.0020.00515.31
5.5.110.0060.00015.27
5.5.100.0040.00315.47
5.5.90.0050.00215.53
5.5.80.0020.00515.44
5.5.70.0020.00515.43
5.5.60.0020.00615.46
5.5.50.0040.00315.51
5.5.40.0040.00215.46
5.5.30.0010.00515.51
5.5.20.0030.00315.54
5.5.10.0000.00615.44
5.5.00.0050.00215.40
5.4.450.0050.00012.37
5.4.440.0010.00412.44
5.4.430.0030.00212.41
5.4.420.0030.00212.47
5.4.410.0030.00212.29
5.4.400.0010.00412.36
5.4.390.0020.00212.34
5.4.380.0050.00012.31
5.4.370.0010.00412.20
5.4.360.0030.00212.36
5.4.350.0020.00212.41
5.4.340.0050.00012.39
5.4.330.0000.00512.51
5.4.320.0010.00312.39
5.4.310.0000.00512.26
5.4.300.0030.00112.28
5.4.290.0000.00512.53
5.4.280.0030.00112.35
5.4.270.0000.00512.48
5.4.260.0050.00012.43
5.4.250.0020.00412.41
5.4.240.0020.00312.28
5.4.230.0030.00212.20
5.4.220.0000.00512.15
5.4.210.0010.00412.15
5.4.200.0040.00012.27
5.4.190.0000.00512.14
5.4.180.0000.00512.13
5.4.170.0010.00412.17
5.4.160.0000.00612.25
5.4.150.0020.00312.27
5.4.140.0030.00312.35
5.4.130.0010.00412.38
5.4.120.0040.00112.43
5.4.110.0020.00212.38
5.4.100.0010.00412.48
5.4.90.0040.00112.49
5.4.80.0040.00112.38
5.4.70.0000.00512.55
5.4.60.0020.00312.38
5.4.50.0050.00012.43
5.4.40.0050.00012.35
5.4.30.0000.00412.33
5.4.20.0030.00112.41
5.4.10.0040.00212.51
5.4.00.0050.00012.27
5.3.290.0060.00012.83
5.3.280.0010.00412.66
5.3.270.0040.00113.00
5.3.260.0040.00112.71
5.3.250.0020.00312.76
5.3.240.0020.00312.49
5.3.230.0020.00212.73
5.3.220.0000.00512.69
5.3.210.0000.00512.70
5.3.200.0030.00212.71
5.3.190.0020.00312.65
5.3.180.0000.00512.84
5.3.170.0010.00412.83
5.3.160.0010.00413.07
5.3.150.0030.00312.94
5.3.140.0010.00412.76
5.3.130.0040.00112.95
5.3.120.0010.00412.74
5.3.110.0000.00612.89
5.3.100.0000.00612.81
5.3.90.0050.00012.89
5.3.80.0000.00512.72
5.3.70.0000.00512.78
5.3.60.0000.00512.77
5.3.50.0040.00112.59
5.3.40.0020.00312.66
5.3.30.0040.00112.70
5.3.20.0000.00512.64
5.3.10.0000.00612.37
5.3.00.0040.00112.56
5.2.170.0030.00111.82
5.2.160.0050.00011.83
5.2.150.0020.00211.79
5.2.140.0000.00411.69
5.2.130.0020.00211.69
5.2.120.0050.00011.71
5.2.110.0000.00511.64
5.2.100.0000.00511.77
5.2.90.0010.00411.74
5.2.80.0050.00011.78
5.2.70.0030.00211.77
5.2.60.0020.00211.57
5.2.50.0000.00411.77
5.2.40.0010.00411.71
5.2.30.0030.00211.76
5.2.20.0040.00111.63
5.2.10.0000.00411.51
5.2.00.0010.00311.32
5.1.60.0030.00311.03
5.1.50.0010.00410.97
5.1.40.0020.00210.97
5.1.30.0020.00211.15
5.1.20.0020.00210.97
5.1.10.0010.00311.04
5.1.00.0000.00410.97
5.0.50.0000.00410.97
5.0.40.0020.00210.97
5.0.30.0000.00510.97
5.0.20.0040.00010.97
5.0.10.0010.00310.97
5.0.00.0040.00010.97
4.4.90.0000.00210.97
4.4.80.0000.00310.97
4.4.70.0010.00110.97
4.4.60.0020.00010.97
4.4.50.0000.00210.97
4.4.40.0010.00110.97
4.4.30.0000.00210.97
4.4.20.0000.00210.97
4.4.10.0000.00310.97
4.4.00.0010.00110.97
4.3.110.0000.00310.97
4.3.100.0000.00210.97
4.3.90.0010.00110.97
4.3.80.0000.00210.97
4.3.70.0000.00310.97
4.3.60.0010.00110.97
4.3.50.0000.00210.97
4.3.40.0010.00110.97
4.3.30.0000.00210.97
4.3.20.0000.00210.97
4.3.10.0000.00210.97
4.3.00.0020.00010.97

preferences:
21 ms | 403 KiB | 5 Q