3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Rixxi\Utils; interface Exception { } /** * The exception that is thrown when an invoked method is not supported. For scenarios where * it is sometimes possible to perform the requested operation, see InvalidStateException. */ class NotSupportedException extends \RuntimeException implements Exception { } /** * The exception that is thrown when an argument does not match with the expected value. */ class InvalidArgumentException extends \InvalidArgumentException implements Exception { }

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.0090.00916.50
8.3.50.0200.01317.25
8.3.40.0090.00618.63
8.3.30.0040.01418.67
8.3.20.0030.00618.61
8.3.10.0090.00020.24
8.3.00.0040.00419.13
8.2.180.0130.00716.61
8.2.170.0120.00922.96
8.2.160.0160.00020.39
8.2.150.0050.00324.18
8.2.140.0000.00724.66
8.2.130.0060.00326.16
8.2.120.0070.00020.98
8.2.110.0050.00520.99
8.2.100.0040.00717.78
8.2.90.0040.00418.91
8.2.80.0000.00819.21
8.2.70.0080.00017.38
8.2.60.0080.00017.79
8.2.50.0030.00518.07
8.2.40.0040.00418.09
8.2.30.0000.00717.85
8.2.20.0070.00317.45
8.2.10.0070.00017.59
8.2.00.0030.00617.50
8.1.280.0070.00725.92
8.1.270.0080.00023.99
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0030.00622.18
8.1.230.0060.00621.02
8.1.220.0030.00618.77
8.1.210.0050.00319.04
8.1.200.0060.00317.35
8.1.190.0000.00717.52
8.1.180.0020.00518.10
8.1.170.0030.00718.76
8.1.160.0070.00318.73
8.1.150.0050.00318.63
8.1.140.0090.00017.37
8.1.130.0070.00017.80
8.1.120.0000.00717.40
8.1.110.0040.00417.34
8.1.100.0000.00717.33
8.1.90.0000.00717.42
8.1.80.0070.00017.27
8.1.70.0050.00217.34
8.1.60.0060.00617.47
8.1.50.0040.00417.38
8.1.40.0060.00317.34
8.1.30.0050.00317.55
8.1.20.0080.00017.48
8.1.10.0000.00717.40
8.1.00.0050.00317.35
8.0.300.0050.00319.79
8.0.290.0000.00816.63
8.0.280.0000.00718.33
8.0.270.0000.00717.10
8.0.260.0040.00416.74
8.0.250.0070.00016.85
8.0.240.0040.00416.87
8.0.230.0040.00416.86
8.0.220.0000.00616.84
8.0.210.0000.00716.82
8.0.200.0000.00816.80
8.0.190.0000.00716.88
8.0.180.0000.00716.80
8.0.170.0000.00916.72
8.0.160.0030.00316.82
8.0.150.0040.00716.74
8.0.140.0050.00316.81
8.0.130.0030.00313.20
8.0.120.0030.00316.80
8.0.110.0050.00216.73
8.0.100.0030.00516.70
8.0.90.0030.00516.69
8.0.80.0060.01016.77
8.0.70.0000.00816.70
8.0.60.0000.00716.83
8.0.50.0000.00716.84
8.0.30.0120.00416.89
8.0.20.0160.00516.86
8.0.10.0020.00516.97
8.0.00.0090.01316.71
7.4.330.0000.00412.94
7.4.320.0000.00616.40
7.4.300.0000.00616.57
7.4.290.0030.00316.43
7.4.280.0050.00516.46
7.4.270.0040.00416.54
7.4.260.0000.00513.20
7.4.250.0080.00016.43
7.4.240.0040.00416.45
7.4.230.0000.00716.62
7.4.220.0090.01316.53
7.4.210.0090.01016.48
7.4.200.0030.00316.51
7.4.190.0030.00316.47
7.4.160.0030.01416.40
7.4.150.0030.01416.66
7.4.140.0040.01316.42
7.4.130.0030.01316.21
7.4.120.0140.00716.64
7.4.110.0040.01416.27
7.4.100.0140.00316.42
7.4.90.0060.01116.34
7.4.80.0070.01419.39
7.4.70.0100.00816.25
7.4.60.0100.00616.46
7.4.50.0030.00316.40
7.4.40.0070.01016.43
7.4.30.0030.01316.24
7.4.10.0100.01014.98
7.4.00.0090.00814.89
7.3.330.0030.00313.19
7.3.320.0060.00013.06
7.3.310.0030.00316.13
7.3.300.0030.00316.29
7.3.290.0060.00916.22
7.3.280.0080.01216.21
7.3.270.0140.00716.26
7.3.260.0110.00516.58
7.3.250.0110.00616.40
7.3.240.0160.00016.23
7.3.230.0070.01016.20
7.3.210.0130.00316.39
7.3.200.0060.01116.16
7.3.190.0130.00616.38
7.3.180.0100.00716.29
7.3.170.0000.01516.44
7.3.160.0030.01916.55
7.3.130.0080.00814.96
7.3.120.0050.00914.90
7.3.110.0040.01515.04
7.3.100.0060.00614.74
7.3.90.0030.00914.77
7.3.80.0060.00614.62
7.3.70.0070.00414.78
7.3.60.0070.00714.80
7.3.50.0040.00414.44
7.3.40.0030.01014.52
7.3.30.0040.01214.64
7.3.20.0030.00716.38
7.3.10.0110.00416.35
7.3.00.0040.00416.80
7.2.330.0140.00316.20
7.2.320.0220.00016.36
7.2.310.0130.01016.29
7.2.300.0100.00716.32
7.2.290.0100.01016.49
7.2.260.0070.01014.84
7.2.250.0070.01014.78
7.2.240.0030.01314.93
7.2.230.0080.00815.11
7.2.220.0070.00414.98
7.2.210.0040.00414.99
7.2.200.0030.00714.99
7.2.190.0070.00714.93
7.2.180.0080.00314.99
7.2.170.0060.00314.96
7.2.160.0040.01114.96
7.2.150.0000.01016.80
7.2.140.0000.00916.71
7.2.130.0100.00316.84
7.2.120.0000.01316.70
7.2.110.0030.00816.72
7.2.100.0130.00316.81
7.2.90.0070.01116.82
7.2.80.0120.00016.77
7.2.70.0040.00816.54
7.2.60.0030.01616.43
7.2.50.0060.01016.93
7.2.40.0040.01417.01
7.2.30.0060.00616.91
7.2.20.0000.01216.65
7.2.10.0150.00416.91
7.2.00.0050.00817.97
7.1.330.0070.00715.79
7.1.320.0040.00715.76
7.1.310.0100.00615.73
7.1.300.0070.00715.63
7.1.290.0000.01115.74
7.1.280.0030.00615.62
7.1.270.0000.00815.84
7.1.260.0000.00915.48
7.1.250.0000.00915.43
7.1.240.0030.01315.76
7.1.230.0000.01315.65
7.1.220.0090.00915.80
7.1.210.0030.01315.64
7.1.200.0090.00615.36
7.1.190.0090.00615.36
7.1.180.0060.00915.59
7.1.170.0070.00715.78
7.1.160.0120.00315.61
7.1.150.0070.00715.59
7.1.140.0000.01415.41
7.1.130.0070.01015.71
7.1.120.0070.00715.83
7.1.110.0090.00615.77
7.1.100.0020.01116.67
7.1.90.0070.01115.82
7.1.80.0080.00415.59
7.1.70.0030.00716.41
7.1.60.0050.01017.37
7.1.50.0070.01016.05
7.1.40.0030.01015.42
7.1.30.0000.01115.64
7.1.20.0060.00915.64
7.1.10.0040.00815.55
7.1.00.0080.03518.96
7.0.330.0100.00315.28
7.0.320.0030.01315.14
7.0.310.0000.01315.25
7.0.300.0120.00415.30
7.0.290.0000.01015.48
7.0.280.0070.00715.05
7.0.270.0000.00815.36
7.0.260.0030.01015.45
7.0.250.0000.01215.27
7.0.240.0100.00315.12
7.0.230.0040.00415.20
7.0.220.0000.01415.33
7.0.210.0060.00615.32
7.0.200.0030.00715.93
7.0.190.0030.01015.36
7.0.180.0030.00615.28
7.0.170.0060.00315.52
7.0.160.0040.00715.44
7.0.150.0000.01615.44
7.0.140.0080.03818.61
7.0.130.0000.01015.50
7.0.120.0050.03618.71
7.0.110.0060.00915.22
7.0.100.0070.00715.26
7.0.90.0080.00815.23
7.0.80.0030.00915.21
7.0.70.0070.00315.54
7.0.60.0080.02217.67
7.0.50.0080.04516.55
7.0.40.0000.04115.52
7.0.30.0030.04815.56
7.0.20.0070.04515.48
7.0.10.0030.03515.62
7.0.00.0080.02315.57
5.6.400.0080.00014.00
5.6.390.0070.00714.37
5.6.380.0120.00314.26
5.6.370.0130.00013.86
5.6.360.0100.00613.96
5.6.350.0110.00314.37
5.6.340.0060.01014.48
5.6.330.0060.00314.43
5.6.320.0040.00814.44
5.6.310.0040.01214.15
5.6.300.0040.00414.46
5.6.290.0070.00713.93
5.6.280.0090.03417.45
5.6.270.0070.01014.28
5.6.260.0070.00714.35
5.6.250.0000.01014.46
5.6.240.0060.00914.06
5.6.230.0080.00414.25
5.6.220.0120.00314.39
5.6.210.0060.02517.26
5.6.200.0050.02316.08
5.6.190.0100.04616.22
5.6.180.0120.04016.26
5.6.170.0050.04716.09
5.6.160.0080.04216.23
5.6.150.0080.04516.12
5.6.140.0060.04516.19
5.6.130.0140.03816.17
5.6.120.0050.04316.06
5.6.110.0100.04016.03
5.6.100.0050.04216.26
5.6.90.0080.04316.05
5.6.80.0030.02915.94
5.6.70.0070.04015.79
5.6.60.0050.02915.74
5.6.50.0070.04015.75
5.6.40.0070.03215.79
5.6.30.0080.03015.85
5.6.20.0070.03515.92
5.6.10.0050.03915.74
5.6.00.0080.03615.81
5.5.380.0070.01013.77
5.5.370.0030.01013.89
5.5.360.0090.00614.10
5.5.350.0020.04717.22
5.5.340.0040.03516.00
5.5.330.0070.04515.94
5.5.320.0080.03716.05
5.5.310.0050.04616.16
5.5.300.0060.02816.25
5.5.290.0100.03016.05
5.5.280.0060.02316.19
5.5.270.0070.02516.02
5.5.260.0030.04515.86
5.5.250.0050.04115.98
5.5.240.0070.02815.71
5.5.230.0080.02715.64
5.5.220.0050.02915.62
5.5.210.0080.02815.81
5.5.200.0020.04515.57
5.5.190.0050.04715.67
5.5.180.0050.04215.61
5.5.170.0040.01114.11
5.5.160.0070.04315.63
5.5.150.0100.03515.71
5.5.140.0050.04315.79
5.5.130.0120.02215.70
5.5.120.0070.03815.82
5.5.110.0040.04515.60
5.5.100.0020.02815.75
5.5.90.0030.04015.72
5.5.80.0070.03915.73
5.5.70.0090.02715.61
5.5.60.0050.03315.54
5.5.50.0000.04915.65
5.5.40.0050.04515.54
5.5.30.0070.02015.69
5.5.20.0050.03815.60
5.5.10.0080.03215.44
5.5.00.0080.04515.68
5.4.450.0040.04515.72
5.4.440.0050.04015.69
5.4.430.0090.04015.68
5.4.420.0050.04515.66
5.4.410.0040.03415.62
5.4.400.0070.03315.62
5.4.390.0050.02815.54
5.4.380.0070.03715.50
5.4.370.0080.03915.55
5.4.360.0050.03215.51
5.4.350.0070.03815.54
5.4.340.0040.03415.50
5.4.330.0070.00311.97
5.4.320.0000.03115.55
5.4.310.0060.03615.50
5.4.300.0020.03915.51
5.4.290.0050.02215.59
5.4.280.0100.04015.50
5.4.270.0100.02115.54
5.4.260.0020.04315.50
5.4.250.0080.03515.43
5.4.240.0060.02515.51
5.4.230.0050.04315.55
5.4.220.0060.03215.50
5.4.210.0070.04215.51
5.4.200.0050.04315.49
5.4.190.0050.03215.51
5.4.180.0050.02315.55
5.4.170.0080.03515.49
5.4.160.0120.03615.50
5.4.150.0040.03815.52
5.4.140.0030.02514.17
5.4.130.0070.02714.16
5.4.120.0050.03814.21
5.4.110.0050.03014.21
5.4.100.0070.03514.24
5.4.90.0050.03714.21
5.4.80.0030.03214.15
5.4.70.0120.03214.24
5.4.60.0030.04214.16
5.4.50.0100.03514.20
5.4.40.0050.02314.29
5.4.30.0120.02814.17
5.4.20.0130.03214.17
5.4.10.0080.03714.16
5.4.00.0060.02713.88
5.3.290.0070.03313.36
5.3.280.0050.04213.31
5.3.270.0000.04413.33
5.3.260.0080.03513.29
5.3.250.0030.03013.27
5.3.240.0030.03413.29
5.3.230.0090.03213.28
5.3.220.0050.03713.27
5.3.210.0050.03913.27
5.3.200.0030.03813.38
5.3.190.0070.03213.19
5.3.180.0040.03413.29
5.3.170.0110.02013.28
5.3.160.0050.04013.24
5.3.150.0050.04213.26
5.3.140.0050.04013.29
5.3.130.0030.02813.28
5.3.120.0050.02513.32
5.3.110.0080.02513.28
5.3.100.0070.02013.01
5.3.90.0090.03813.04
5.3.80.0050.03613.10
5.3.70.0090.03513.01
5.3.60.0050.04112.93
5.3.50.0070.03213.06
5.3.40.0040.03612.96
5.3.30.0080.02512.94
5.3.20.0030.03712.84
5.3.10.0030.03812.83
5.3.00.0120.02312.81
5.2.170.0070.06311.11
5.2.160.0130.05711.15
5.2.150.0030.04310.98
5.2.140.0100.05711.13
5.2.130.0030.04311.10
5.2.120.0030.06010.93
5.2.110.0000.06711.02
5.2.100.0130.05310.87
5.2.90.0070.05011.12
5.2.80.0070.05311.06
5.2.70.0000.04311.12
5.2.60.0030.05710.95
5.2.50.0000.04010.98
5.2.40.0130.05011.02
5.2.30.0070.04310.91
5.2.20.0000.03310.93
5.2.10.0030.05010.75
5.2.00.0030.06310.71
5.1.60.0030.0339.84
5.1.50.0070.05310.05
5.1.40.0030.0479.95
5.1.30.0030.05710.24
5.1.20.0070.05310.33
5.1.10.0030.06010.05
5.1.00.0030.05310.07
5.0.50.0070.0338.61
5.0.40.0030.0338.43
5.0.30.0030.0678.05
5.0.20.0030.0438.22
5.0.10.0100.0338.26
5.0.00.0030.0478.25
4.4.90.0000.0237.71
4.4.80.0000.0337.71
4.4.70.0000.0207.71
4.4.60.0030.0307.71
4.4.50.0030.0337.71
4.4.40.0030.0537.71
4.4.30.0000.0377.71
4.4.20.0070.0207.71
4.4.10.0030.0337.71
4.4.00.0070.0337.71
4.3.110.0000.0177.71
4.3.100.0030.0337.71
4.3.90.0000.0337.71
4.3.80.0000.0477.71
4.3.70.0030.0177.71
4.3.60.0030.0337.71
4.3.50.0100.0307.71
4.3.40.0030.0507.71
4.3.30.0030.0337.71
4.3.20.0030.0277.71
4.3.10.0000.0307.71
4.3.00.0000.0377.71

preferences:
45.07 ms | 401 KiB | 5 Q