3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace App; function test(int $a) { echo $a; } test(1);

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.130.0110.00418.27
8.3.120.0030.00618.98
8.3.110.0000.00920.94
8.3.100.0060.00324.06
8.3.90.0170.00326.77
8.3.80.0050.00518.18
8.3.70.0070.00716.75
8.3.60.0140.00716.60
8.3.50.0080.00816.24
8.3.40.0140.00018.71
8.3.30.0160.00318.48
8.3.20.0070.00024.18
8.3.10.0040.00424.66
8.3.00.0050.00226.16
8.2.250.0070.00716.55
8.2.240.0040.00417.02
8.2.230.0050.00522.58
8.2.220.0050.00237.54
8.2.210.0060.00326.77
8.2.200.0040.00416.50
8.2.190.0080.00816.58
8.2.180.0110.00425.92
8.2.170.0070.00718.66
8.2.160.0100.00322.96
8.2.150.0070.00025.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0080.00019.68
8.2.110.0060.00320.52
8.2.100.0040.00817.91
8.2.90.0040.00420.47
8.2.80.0060.00317.97
8.2.70.0030.00617.90
8.2.60.0040.00718.16
8.2.50.0040.00418.10
8.2.40.0060.00320.95
8.2.30.0000.00719.08
8.2.20.0040.00417.98
8.2.10.0000.00719.04
8.2.00.0070.00319.23
8.1.300.0150.00317.89
8.1.290.0040.00830.84
8.1.280.0150.00325.92
8.1.270.0090.00023.99
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0030.00723.92
8.1.230.0070.00420.94
8.1.220.0080.00017.74
8.1.210.0070.00418.99
8.1.200.0000.00817.10
8.1.190.0080.00017.11
8.1.180.0050.00318.10
8.1.170.0060.00318.52
8.1.160.0000.00718.66
8.1.150.0000.00818.75
8.1.140.0070.00018.67
8.1.130.0000.00719.98
8.1.120.0000.00817.30
8.1.110.0050.00317.23
8.1.100.0000.00817.34
8.1.90.0070.00017.33
8.1.80.0040.00417.23
8.1.70.0070.00017.29
8.1.60.0000.00817.46
8.1.50.0040.00417.33
8.1.40.0040.00417.35
8.1.30.0000.00817.41
8.1.20.0040.00417.42
8.1.10.0000.00817.50
8.1.00.0000.00717.27
8.0.300.0000.00819.93
8.0.290.0080.00316.59
8.0.280.0070.00018.35
8.0.270.0050.00516.70
8.0.260.0030.00318.37
8.0.250.0030.00316.84
8.0.240.0040.00416.83
8.0.230.0030.00316.84
8.0.220.0000.00716.68
8.0.210.0050.00316.65
8.0.200.0030.00316.70
8.0.190.0040.00416.83
8.0.180.0050.00316.78
8.0.170.0000.00916.75
8.0.160.0040.00416.72
8.0.150.0070.00016.55
8.0.140.0040.00416.72
8.0.130.0060.00013.20
8.0.120.0000.00816.64
8.0.110.0040.00416.72
8.0.100.0040.00416.57
8.0.90.0040.00416.64
8.0.80.0060.00916.76
8.0.70.0040.00416.67
8.0.60.0040.00416.62
8.0.50.0030.00516.60
8.0.30.0080.00916.73
8.0.20.0100.00816.76
8.0.10.0090.00716.86
8.0.00.0070.00916.86
7.4.330.0000.00515.55
7.4.320.0000.00616.44
7.4.300.0000.00716.51
7.4.290.0040.00416.27
7.4.280.0000.00716.42
7.4.270.0030.00516.45
7.4.260.0000.00713.21
7.4.250.0030.00316.34
7.4.240.0050.00316.50
7.4.230.0000.00616.45
7.4.220.0030.00316.44
7.4.210.0070.00716.43
7.4.200.0000.00616.26
7.4.160.0090.00816.50
7.4.150.0080.00916.46
7.4.140.0060.01016.37
7.4.130.0070.00916.38
7.4.120.0080.00716.35
7.4.110.0080.00916.38
7.4.100.0100.00616.42
7.4.90.0070.00816.41
7.4.80.0060.00916.40
7.4.70.0080.00816.43
7.4.60.0070.00816.41
7.4.50.0080.00916.33
7.4.40.0090.00816.32
7.4.30.0060.00916.36
7.4.20.0090.00716.34
7.4.10.0070.00916.39
7.4.00.0080.00716.41
7.3.330.0040.00416.18
7.3.320.0000.00513.32
7.3.310.0040.00416.34
7.3.300.0000.00716.30
7.3.290.0090.00616.29
7.3.280.0090.00816.28
7.3.270.0080.00916.28
7.3.260.0070.00916.28
7.3.250.0050.00916.24
7.3.240.0070.00816.26
7.3.230.0070.00816.26
7.3.220.0080.00816.20
7.3.210.0080.00716.21
7.3.200.0080.00616.22
7.3.190.0070.00916.21
7.3.180.0080.00716.20
7.3.170.0090.00616.21
7.3.160.0070.00916.21
7.3.150.0070.00916.21
7.3.140.0090.00716.20
7.3.130.0080.00816.20
7.3.120.0050.01016.21
7.3.110.0060.00916.15
7.3.100.0100.00716.13
7.3.90.0110.00716.48
7.3.80.0080.00916.21
7.3.70.0080.00916.32
7.3.60.0080.00816.36
7.3.50.0110.00716.39
7.3.40.0100.00616.38
7.3.30.0070.00916.37
7.3.20.0140.00816.40
7.3.10.0100.00816.34
7.3.00.0110.00916.34
7.2.340.0150.01516.14
7.2.330.0280.00716.16
7.2.320.0240.00816.22
7.2.310.0200.00616.20
7.2.300.0230.00716.20
7.2.290.0220.00416.20
7.2.280.0210.00316.20
7.2.270.0250.00316.21
7.2.260.0190.01416.24
7.2.250.0190.01116.14
7.2.240.0260.00416.24
7.2.230.0110.01416.20
7.2.220.0230.00016.25
7.2.210.0110.01316.22
7.2.200.0210.00316.39
7.2.190.0210.00316.32
7.2.180.0150.01116.37
7.2.170.0470.00316.37
7.2.160.0220.00716.44
7.2.150.0220.01116.50
7.2.140.0220.00916.46
7.2.130.0230.01016.54
7.2.120.0590.00416.49
7.2.110.0160.01316.61
7.2.100.0110.00716.63
7.2.90.0150.02516.45
7.2.80.0260.00616.48
7.2.70.0100.01516.47
7.2.60.0130.01316.38
7.2.50.0170.01016.53
7.2.40.0290.00316.54
7.2.30.0170.00816.54
7.2.20.0200.00716.53
7.2.10.0170.01116.67
7.2.00.0230.00816.53
7.1.330.0150.01515.37
7.1.320.0180.00615.34
7.1.310.0180.00415.42
7.1.300.0140.01015.47
7.1.290.0170.00915.50
7.1.280.0170.00815.42
7.1.270.0260.00715.53
7.1.260.0180.00715.51
7.1.250.0200.00915.41
7.1.240.0190.01115.40
7.1.230.0160.01615.38
7.1.220.0220.00415.50
7.1.210.0220.00715.46
7.1.200.0240.00315.42
7.1.190.0200.00715.38
7.1.180.0240.00415.34
7.1.170.0200.00515.44
7.1.160.0260.00015.32
7.1.150.0140.01115.41
7.1.140.0120.01215.38
7.1.130.0220.00515.42
7.1.120.0210.00315.43
7.1.110.0180.00715.49
7.1.100.0170.00715.30
7.1.90.0170.01015.38
7.1.80.0090.01415.43
7.1.70.0760.00615.30
7.1.60.0240.00715.33
7.1.50.0180.00715.37
7.1.40.0210.00415.41
7.1.30.0190.00615.48
7.1.20.0180.00615.36
7.1.10.0130.01315.44
7.1.00.0210.00315.35
7.0.330.0130.01615.07
7.0.320.0300.00815.10
7.0.310.0220.00715.19
7.0.300.0210.01015.10
7.0.290.1360.00615.12
7.0.280.0150.00815.04
7.0.270.0160.01015.14
7.0.260.0230.00015.20
7.0.250.0170.00715.17
7.0.240.0190.00415.13
7.0.230.0220.00615.22
7.0.220.0120.01215.13
7.0.210.0150.00915.23
7.0.200.0200.00315.19
7.0.190.0130.01315.22
7.0.180.0100.01415.16
7.0.170.0130.01015.20
7.0.160.0180.00615.15
7.0.150.0210.00615.17
7.0.140.0140.01415.01
7.0.130.0150.00915.02
7.0.120.0200.00615.22
7.0.110.0150.00915.14
7.0.100.0270.00015.14
7.0.90.0390.00415.10
7.0.80.0140.01115.09
7.0.70.0350.00315.13
7.0.60.0170.01015.18
7.0.50.0270.00015.06
7.0.40.0160.01015.31
7.0.30.0210.00615.24
7.0.20.0170.00615.23
7.0.10.0120.01215.13
7.0.00.0210.00915.06
5.6.400.0170.01215.66
5.6.390.0220.00515.68
5.6.380.0290.00315.64
5.6.370.0160.01015.67
5.6.360.0220.00615.68
5.6.350.0200.00615.53
5.6.340.0100.01615.61
5.6.330.0110.01415.69
5.6.320.0150.00815.61
5.6.310.0230.00315.60
5.6.300.0250.00615.52
5.6.290.0150.00815.55
5.6.280.0190.00915.70
5.6.270.0190.00815.64
5.6.260.0210.00815.67
5.6.250.0220.00615.56
5.6.240.0170.01015.76
5.6.230.0100.01715.68
5.6.220.0220.01015.66
5.6.210.0220.00915.68
5.6.200.0100.01415.78
5.6.190.0230.01015.64
5.6.180.0260.00315.61
5.6.170.0140.01015.61
5.6.160.0190.00915.64
5.6.150.0180.01415.64
5.6.140.0210.01315.88
5.6.130.0190.01315.66
5.6.120.0210.00715.61
5.6.110.0180.00615.80
5.6.100.0120.01215.67
5.6.90.0240.00615.51
5.6.80.0140.01815.66
5.6.70.0210.00715.72
5.6.60.0130.01315.79
5.6.50.0210.00515.62
5.6.40.0180.00715.68
5.6.30.0190.00415.61
5.6.20.0170.00515.48
5.6.10.0190.00315.70
5.6.00.0140.00815.50
5.5.380.0190.00815.88
5.5.370.0180.00615.92
5.5.360.0180.00815.60
5.5.350.0180.01115.49
5.5.340.0160.01615.67
5.5.330.0230.00815.47
5.5.320.0270.01015.52
5.5.310.0190.00815.51
5.5.300.0090.02315.50
5.5.290.0210.00915.55
5.5.280.0170.01115.47
5.5.270.0140.00915.46
5.5.260.0150.00915.64
5.5.250.0210.00915.61
5.5.240.0250.00415.61
5.5.230.0150.01115.55
5.5.220.0120.01215.58
5.5.210.0090.01515.68
5.5.200.0220.00315.38
5.5.190.0140.00715.46
5.5.180.0150.00915.41
5.5.170.0220.00315.63
5.5.160.0200.01115.46
5.5.150.0100.01615.37
5.5.140.0140.00915.36
5.5.130.0200.00415.39
5.5.120.0110.01115.32
5.5.110.0140.01015.31
5.5.100.0170.00815.62
5.5.90.0200.00515.55
5.5.80.0100.01315.59
5.5.70.0100.01315.54
5.5.60.0190.00315.58
5.5.50.0150.00915.64
5.5.40.0150.00615.67
5.5.30.0210.00415.72
5.5.20.0150.00715.78
5.5.10.0190.00515.45
5.5.00.0200.00315.64
5.4.450.0160.00612.59
5.4.440.0130.01012.52
5.4.430.0110.00512.61
5.4.420.0170.00012.59
5.4.410.0180.00912.43
5.4.400.0090.01212.48
5.4.390.0090.00912.55
5.4.380.0070.01312.53
5.4.370.0140.00712.47
5.4.360.0080.01212.48
5.4.350.0140.00412.43
5.4.340.0170.00012.54
5.4.330.0150.00212.45
5.4.320.0080.01212.59
5.4.310.0090.01212.64
5.4.300.0090.00912.70
5.4.290.0070.01112.56
5.4.280.0110.00712.70
5.4.270.0140.01112.49
5.4.260.0130.01012.45
5.4.250.0170.00212.49
5.4.240.0110.00812.52
5.4.230.0110.00712.25
5.4.220.0190.00312.31
5.4.210.0100.00712.31
5.4.200.0180.00012.33
5.4.190.0220.00612.31
5.4.180.0130.00612.27
5.4.170.0100.00712.40
5.4.160.0110.00712.33
5.4.150.0130.00612.35
5.4.140.0040.01212.48
5.4.130.0140.00712.46
5.4.120.0110.00812.55
5.4.110.0090.00912.54
5.4.100.0100.01012.46
5.4.90.0080.01112.41
5.4.80.0040.01212.59
5.4.70.0110.00712.49
5.4.60.0130.00912.68
5.4.50.0080.00812.52
5.4.40.0160.00312.53
5.4.30.0130.00412.54
5.4.20.0080.00812.53
5.4.10.0100.01012.57
5.4.00.0140.00712.39
5.3.290.0110.00813.25
5.3.280.0150.00312.79
5.3.270.0110.01112.94
5.3.260.0070.01112.92
5.3.250.0110.00812.82
5.3.240.0110.00712.83
5.3.230.0110.00612.79
5.3.220.0120.00612.96
5.3.210.0090.00912.82
5.3.200.0110.00812.99
5.3.190.0100.00713.07
5.3.180.0120.00813.16
5.3.170.0130.00713.15
5.3.160.0140.00413.03
5.3.150.0100.01013.16
5.3.140.0130.00912.95
5.3.130.0050.01413.07
5.3.120.0110.00612.97
5.3.110.0100.00713.00
5.3.100.0100.00713.04
5.3.90.0100.00713.09
5.3.80.0130.00313.01
5.3.70.0120.00412.82
5.3.60.0160.00012.93
5.3.50.0210.00812.86
5.3.40.0180.00012.93
5.3.30.0110.00613.15
5.3.20.0060.01012.99
5.3.10.0140.00312.81
5.3.00.0150.00212.65
5.2.170.0060.00911.86
5.2.160.0070.00711.73
5.2.150.0070.00711.86
5.2.140.0070.00811.75
5.2.130.0140.00011.68
5.2.120.0160.00411.73
5.2.110.0040.01111.76
5.2.100.0060.01011.70
5.2.90.0110.00411.81
5.2.80.0090.00611.71
5.2.70.0130.00311.73
5.2.60.0130.00311.81
5.2.50.0000.01511.89
5.2.40.0040.01111.68
5.2.30.0090.00611.52
5.2.20.0050.01011.59
5.2.10.0120.00411.59
5.2.00.0080.00811.38
5.1.60.0070.00711.23
5.1.50.0060.00711.23
5.1.40.0140.00311.23
5.1.30.0110.00411.23
5.1.20.0100.00511.23
5.1.10.0070.00511.23
5.1.00.0080.00411.23
5.0.50.0070.00711.23
5.0.40.0080.00311.23
5.0.30.0040.00711.23
5.0.20.0060.00611.23
5.0.10.0110.00011.23
5.0.00.0080.00311.23
4.4.90.0030.00811.23
4.4.80.0000.00811.23
4.4.70.0000.00711.23
4.4.60.0070.00011.23
4.4.50.0000.00711.23
4.4.40.0030.00411.23
4.4.30.0060.00311.23
4.4.20.0070.00011.23
4.4.10.0000.00711.23
4.4.00.0070.00011.23
4.3.110.0060.00011.23
4.3.100.0040.00211.23
4.3.90.0050.00311.23
4.3.80.0070.00011.23
4.3.70.0040.00411.23
4.3.60.0000.00911.23
4.3.50.0000.01011.23
4.3.40.0030.00511.23
4.3.30.0050.00311.23
4.3.20.0070.00011.23
4.3.10.0070.00011.23
4.3.00.0060.00011.23

preferences:
29.81 ms | 403 KiB | 5 Q