3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Filter { function Filter() { } } new Filter();

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.1.70.0000.00817.33
8.1.60.0040.00417.34
8.1.50.0030.00617.42
8.1.40.0060.00317.39
8.1.30.0020.00517.48
8.1.20.0000.00817.38
8.1.10.0070.00017.54
8.1.00.0040.00417.41
8.0.200.0030.00316.87
8.0.190.0080.00016.89
8.0.180.0000.00716.83
8.0.170.0000.00716.71
8.0.160.0000.00716.81
8.0.150.0000.00716.68
8.0.140.0070.00016.61
8.0.130.0000.00513.19
8.0.120.0040.00416.72
8.0.110.0000.00716.77
8.0.100.0040.00416.61
8.0.90.0000.00716.70
8.0.80.0070.00716.71
8.0.70.0050.00316.54
8.0.60.0040.00416.82
8.0.50.0000.00716.64
8.0.30.0110.01017.10
8.0.20.0090.01117.40
8.0.10.0070.00016.94
8.0.00.0070.01016.50
7.4.300.0000.00616.53
7.4.290.0100.00016.53
7.4.280.0000.00716.51
7.4.270.0030.00316.54
7.4.260.0000.00616.34
7.4.250.0030.00316.53
7.4.240.0040.00416.35
7.4.230.0000.00716.34
7.4.220.0150.00416.62
7.4.210.0030.01416.50
7.4.200.0040.00416.32
7.4.160.0100.00516.51
7.4.150.0170.00317.40
7.4.140.0120.01217.86
7.4.130.0090.00916.35
7.4.120.0080.01216.45
7.4.110.0070.01016.34
7.4.100.0110.00616.50
7.4.90.0070.01116.36
7.4.80.0130.00319.39
7.4.70.0110.00616.42
7.4.60.0090.00616.42
7.4.50.0060.01216.49
7.4.40.0110.00616.54
7.4.30.0110.00716.28
7.4.00.0060.01214.75
7.3.330.0000.00513.30
7.3.320.0030.00213.30
7.3.310.0080.00016.30
7.3.300.0000.00616.29
7.3.290.0110.00716.25
7.3.280.0060.01216.28
7.3.270.0060.01217.40
7.3.260.0090.01316.29
7.3.250.0100.01316.25
7.3.240.0110.00816.34
7.3.230.0060.01116.30
7.3.210.0090.00916.22
7.3.200.0070.01416.35
7.3.190.0030.01316.46
7.3.180.0090.00616.29
7.3.170.0060.01016.38
7.3.160.0110.00516.25
7.3.120.0050.01214.67
7.3.110.0060.01214.62
7.3.100.0060.01114.79
7.3.90.0060.00814.64
7.3.80.0070.00814.61
7.3.70.0040.00714.67
7.3.60.0020.01314.60
7.3.50.0050.00714.68
7.3.40.0040.00614.83
7.3.30.0070.00514.60
7.3.20.0040.01016.54
7.3.10.0060.00616.47
7.3.00.0040.00616.49
7.2.330.0090.00916.53
7.2.320.0100.00716.50
7.2.310.0130.00916.51
7.2.300.0190.00916.38
7.2.290.0030.01416.17
7.2.250.0060.01014.80
7.2.240.0070.01114.98
7.2.230.0060.01014.84
7.2.220.0060.00514.64
7.2.210.0060.00914.61
7.2.200.0040.01114.91
7.2.190.0070.00514.78
7.2.180.0060.00714.84
7.2.170.0060.00814.73
7.2.160.0000.01115.02
7.2.150.0070.00316.56
7.2.140.0060.00816.70
7.2.130.0070.00716.88
7.2.120.0100.00716.77
7.2.110.0040.00716.84
7.2.100.0060.00316.91
7.2.90.0030.00916.79
7.2.80.0070.00416.77
7.2.70.0070.00716.90
7.2.60.0070.00916.72
7.2.50.0100.00316.79
7.2.40.0000.01716.75
7.2.30.0070.00716.49
7.2.20.0090.00616.54
7.2.10.0090.00616.58
7.2.00.0020.01217.84
7.1.330.0100.00415.47
7.1.320.0050.00915.62
7.1.310.0050.00715.71
7.1.300.0070.00615.54
7.1.290.0080.00515.54
7.1.280.0070.00515.56
7.1.270.0050.00815.58
7.1.260.0050.01015.50
7.1.250.0000.01515.70
7.1.240.0060.00315.43
7.1.230.0070.00715.38
7.1.220.0070.01015.59
7.1.210.0110.00415.50
7.1.200.0050.00815.73
7.1.190.0130.00315.68
7.1.180.0070.00715.61
7.1.170.0040.00415.71
7.1.160.0030.00615.72
7.1.150.0040.00815.66
7.1.140.0100.00415.65
7.1.130.0050.00915.68
7.1.120.0030.00915.66
7.1.110.0000.00915.45
7.1.100.0070.00715.61
7.1.90.0100.00615.55
7.1.80.0050.00515.42
7.1.70.0070.00516.22
7.1.60.0080.00316.39
7.1.50.0090.00516.18
7.1.40.0130.00727.93
7.1.30.0080.01224.93
7.1.20.0050.01924.88
7.1.10.0020.01215.96
7.1.00.0050.01016.00
7.0.330.0030.01115.43
7.0.320.0060.00815.35
7.0.310.0090.00315.30
7.0.300.0070.00714.92
7.0.290.0000.00915.42
7.0.280.0030.01015.32
7.0.270.0030.01315.27
7.0.260.0000.00815.00
7.0.250.0030.00915.12
7.0.240.0060.00315.51
7.0.230.0060.00914.93
7.0.220.0040.01215.35
7.0.210.0070.00715.16
7.0.200.0020.00915.93
7.0.190.0100.00315.25
7.0.180.0000.01115.53
7.0.170.0000.01315.63
7.0.160.0030.00915.47
7.0.150.0080.00515.55
7.0.140.0070.00815.73
7.0.130.0050.00815.76
7.0.120.0080.00515.79
7.0.110.0050.00815.78
7.0.100.0050.00915.54
7.0.90.0060.00815.70
7.0.80.0090.00515.74
7.0.70.0050.00915.70
7.0.60.0070.00915.61
7.0.50.0050.00815.69
7.0.40.0030.01314.87
7.0.30.0070.00814.77
7.0.20.0030.01114.70
7.0.10.0050.00714.71
7.0.00.0050.01114.73
5.6.400.0000.00914.54
5.6.390.0060.00914.18
5.6.380.0070.00714.26
5.6.370.0000.00914.27
5.6.360.0000.01314.51
5.6.350.0090.00614.30
5.6.340.0040.01114.05
5.6.330.0040.00814.48
5.6.320.0030.00714.00
5.6.310.0040.01214.32
5.6.300.0070.00714.41
5.6.290.0060.00914.27
5.6.280.0030.00614.18
5.6.270.0120.00314.61
5.6.260.0040.01413.90
5.6.250.0040.00414.03
5.6.240.0000.01414.06
5.6.230.0040.01114.37
5.6.220.0000.01414.41
5.6.210.0100.00314.38
5.6.200.0070.00314.30
5.6.190.0060.01014.13
5.6.180.0130.00314.23
5.6.170.0000.01314.24
5.6.160.0030.01013.91
5.6.150.0100.00714.08
5.6.140.0030.00814.07
5.6.130.0040.00714.11
5.6.120.0070.00414.17
5.6.110.0120.00014.42
5.6.100.0000.01414.08
5.6.90.0000.00914.04
5.6.80.0040.01114.34
5.6.70.0070.00314.00
5.6.60.0030.00614.10
5.6.50.0040.00414.21
5.6.40.0090.00613.91
5.6.30.0120.00614.00
5.6.20.0070.01014.25
5.6.10.0130.00314.05
5.6.00.0040.00813.96

preferences:
12.89 ms | 406 KiB | 5 Q