3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Foo { } var_dump( get_class(new class implements Foo {}), get_class(new class implements 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.3.60.0110.00716.50
8.3.50.0170.00318.26
8.3.40.0000.01418.67
8.3.30.0070.01418.72
8.3.20.0080.00021.73
8.3.10.0040.00421.73
8.3.00.0070.01119.68
8.2.180.0100.01018.29
8.2.170.0100.01022.96
8.2.160.0100.01019.16
8.2.150.0060.00324.18
8.2.140.0120.00624.66
8.2.130.0080.00820.53
8.2.120.0090.00926.35
8.2.110.0000.00821.12
8.2.100.0080.00317.78
8.2.90.0070.00318.03
8.2.80.0060.00317.97
8.2.70.0080.00017.91
8.2.60.0110.00017.90
8.2.50.0040.00418.10
8.2.40.0030.00520.53
8.2.30.0000.00719.24
8.2.20.0020.00518.04
8.2.10.0070.00018.10
8.2.00.0000.00718.00
8.1.280.0090.00625.92
8.1.270.0040.00420.56
8.1.260.0080.00026.35
8.1.250.0090.00928.09
8.1.240.0030.00622.59
8.1.230.0090.00320.99
8.1.220.0080.00017.74
8.1.210.0000.00918.77
8.1.200.0090.00017.23
8.1.190.0080.00017.23
8.1.180.0040.00418.10
8.1.170.0040.00418.52
8.1.160.0040.00418.73
8.1.150.0000.00718.79
8.1.140.0040.00419.51
8.1.130.0040.00418.77
8.1.120.0040.00417.45
8.1.110.0000.00817.28
8.1.100.0000.00717.29
8.1.90.0030.00517.41
8.1.80.0000.00717.30
8.1.70.0000.00717.38
8.1.60.0050.00317.41
8.1.50.0040.00417.48
8.1.40.0080.00017.46
8.1.30.0050.00317.45
8.1.20.0000.00817.42
8.1.10.0080.00017.55
8.1.00.0000.00717.50
8.0.300.0030.00520.08
8.0.290.0030.00616.75
8.0.280.0040.00418.44
8.0.270.0000.00717.25
8.0.260.0000.00717.25
8.0.250.0050.00316.98
8.0.240.0040.00416.80
8.0.230.0030.00316.79
8.0.220.0000.00716.71
8.0.210.0030.00416.71
8.0.200.0030.00316.77
8.0.190.0040.00416.89
8.0.180.0000.00816.75
8.0.170.0000.00816.73
8.0.160.0000.00716.81
8.0.150.0000.00716.83
8.0.140.0050.00316.82
8.0.130.0000.00613.13
8.0.120.0000.00716.77
8.0.110.0030.00516.85
8.0.100.0000.00716.90
8.0.90.0040.00416.72
8.0.80.0140.00616.76
8.0.70.0080.00016.64
8.0.60.0030.00616.86
8.0.50.0040.00416.69
8.0.30.0080.01117.01
8.0.20.0110.01017.40
8.0.10.0000.00717.05
8.0.00.0210.00316.63
7.4.330.0020.00215.55
7.4.320.0000.00716.44
7.4.300.0000.00816.44
7.4.290.0060.00316.50
7.4.280.0050.00616.43
7.4.270.0000.00816.42
7.4.260.0070.00016.48
7.4.250.0040.00416.40
7.4.240.0000.00716.54
7.4.230.0000.00716.48
7.4.220.0060.01916.45
7.4.210.0130.00316.40
7.4.200.0030.00316.27
7.4.160.0090.00716.46
7.4.150.0070.01017.40
7.4.140.0100.00717.86
7.4.130.0120.01216.36
7.4.120.0100.01016.32
7.4.110.0070.01116.39
7.4.100.0100.01716.49
7.4.90.0130.00316.40
7.4.80.0030.01419.39
7.4.70.0190.00316.63
7.4.60.0090.00916.40
7.4.50.0050.00516.51
7.4.40.0120.00316.45
7.4.30.0130.00316.42
7.4.00.0090.00814.86
7.3.330.0030.00313.18
7.3.320.0000.00613.16
7.3.310.0070.00016.21
7.3.300.0030.00316.18
7.3.290.0110.00816.19
7.3.280.0080.01016.13
7.3.270.0080.00817.40
7.3.260.0150.00516.29
7.3.250.0090.00816.22
7.3.240.0080.00816.26
7.3.230.0070.01016.08
7.3.210.0000.01616.39
7.3.200.0070.01016.09
7.3.190.0070.01116.52
7.3.180.0100.00716.49
7.3.170.0060.00916.46
7.3.160.0060.01016.54
7.3.120.0060.01214.72
7.3.110.0120.00314.62
7.3.100.0130.00314.89
7.3.90.0030.01314.42
7.3.80.0070.01014.39
7.3.70.0030.01314.52
7.3.60.0050.00514.76
7.3.50.0070.01114.78
7.3.40.0030.01014.75
7.3.30.0070.01114.73
7.3.20.0070.01316.33
7.3.10.0090.01216.80
7.3.00.0100.00716.28
7.2.330.0100.00716.70
7.2.320.0030.01416.31
7.2.310.0060.00916.28
7.2.300.0100.00716.50
7.2.290.0090.00616.33
7.2.250.0060.01214.68
7.2.240.0100.00715.06
7.2.230.0120.00614.77
7.2.220.0090.00614.93
7.2.210.0060.01214.59
7.2.200.0100.00715.00
7.2.190.0060.00914.68
7.2.180.0070.00414.84
7.2.170.0040.01114.79
7.2.160.0070.01014.59
7.2.150.0030.01516.91
7.2.140.0090.00916.84
7.2.130.0030.01216.81
7.2.120.0100.00316.61
7.2.110.0030.01316.86
7.2.100.0070.00616.68
7.2.90.0040.01116.62
7.2.80.0090.00616.68
7.2.70.0130.00316.61
7.2.60.0080.00616.67
7.2.50.0090.00616.89
7.2.40.0100.00616.62
7.2.30.0070.00716.98
7.2.20.0100.00316.73
7.2.10.0120.00316.72
7.2.00.0030.01117.87
7.1.330.0100.00715.60
7.1.320.0040.01215.52
7.1.310.0030.01015.65
7.1.300.0100.00315.63
7.1.290.0040.00715.55
7.1.280.0000.01715.73
7.1.270.0100.00315.72
7.1.260.0040.00815.81
7.1.250.0070.00715.33
7.1.240.0030.01315.57
7.1.230.0080.00415.54
7.1.220.0030.01015.39
7.1.210.0000.01515.49
7.1.200.0050.00915.68
7.1.190.0090.00415.60
7.1.180.0100.00315.68
7.1.170.0060.01015.52
7.1.160.0040.00715.82
7.1.150.0030.00915.82
7.1.140.0100.00615.77
7.1.130.0040.00915.54
7.1.120.0110.00415.79
7.1.110.0100.00315.66
7.1.100.0030.00915.69
7.1.90.0030.01015.72
7.1.80.0030.00815.44
7.1.70.0030.01416.18
7.1.60.0030.00916.46
7.1.50.0220.01424.05
7.1.40.0320.01223.97
7.1.30.0480.01123.99
7.1.20.0220.01023.99
7.1.10.0190.00515.15
7.1.00.0120.01215.24
7.0.330.0060.01015.24
7.0.320.0000.00915.27
7.0.310.0070.00715.30
7.0.300.0090.00315.44
7.0.290.0040.01115.12
7.0.280.0030.00915.23
7.0.270.0040.00415.24
7.0.260.0060.00915.21
7.0.250.0030.01315.22
7.0.240.0000.01215.45
7.0.230.0030.00615.45
7.0.220.0080.00615.39
7.0.210.0070.01015.07
7.0.200.0030.00915.93
7.0.190.0230.00714.96
7.0.180.0210.01314.69
7.0.170.0170.01014.67
7.0.160.0100.01614.61
7.0.150.0160.01014.78
7.0.140.0180.01014.55
7.0.130.0190.00714.82
7.0.120.0220.00514.88
7.0.110.0150.01014.66
7.0.100.0510.00514.72
7.0.90.0170.00514.92
7.0.80.0200.00814.85
7.0.70.0200.01014.94
7.0.60.0130.01414.54
7.0.50.0130.01314.75
7.0.40.0180.01013.95
7.0.30.0160.01013.81
7.0.20.0220.00913.81
7.0.10.0190.00313.92
7.0.00.0290.00713.81
5.6.400.0060.00713.90
5.6.390.0040.00813.68
5.6.380.0090.00614.25
5.6.370.0070.01014.20
5.6.360.0070.00713.94
5.6.350.0070.00714.38
5.6.340.0060.00714.21
5.6.330.0000.01614.45
5.6.320.0000.01514.10
5.6.310.0060.01013.98
5.6.300.0000.01414.27
5.6.290.0060.00913.95
5.6.280.0040.01114.07
5.6.270.0080.00814.21
5.6.260.0060.00914.12
5.6.250.0030.01014.21
5.6.240.0030.00914.03
5.6.230.0000.01514.11
5.6.220.0000.00914.20
5.6.210.0000.01313.89
5.6.200.0030.00914.18
5.6.190.0030.01214.08
5.6.180.0120.00313.89
5.6.170.0090.00314.34
5.6.160.0060.00913.92
5.6.150.0030.01314.00
5.6.140.0090.00614.13
5.6.130.0110.00614.01
5.6.120.0030.01414.18
5.6.110.0000.01014.04
5.6.100.0030.00913.98
5.6.90.0070.00713.88
5.6.80.0060.01014.02
5.6.70.0100.00314.09
5.6.60.0090.00614.27
5.6.50.0070.01013.83
5.6.40.0110.00413.75
5.6.30.0100.00713.91
5.6.20.0120.00314.12
5.6.10.0070.00713.99
5.6.00.0070.00714.14

preferences:
72.87 ms | 400 KiB | 5 Q