3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class Filter { abstract public static function check($value, $options = array()); } final class StringFilter extends Filter { public static function check($value, $options = array()) { return false; } } var_dump(StringFilter::check('test'));

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.0120.00618.43
8.3.50.0070.01116.24
8.3.40.0040.01118.64
8.3.30.0040.01118.68
8.3.20.0080.00022.09
8.3.10.0080.00021.85
8.3.00.0040.00420.78
8.2.180.0070.00718.16
8.2.170.0110.00422.96
8.2.160.0110.00422.12
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00422.27
8.2.120.0040.00426.35
8.2.110.0150.00720.52
8.2.100.0070.00417.78
8.2.90.0000.00818.91
8.2.80.0040.00417.97
8.2.70.0000.00817.50
8.2.60.0000.00717.68
8.2.50.0000.00818.10
8.2.40.0050.00222.15
8.2.30.0030.00720.78
8.2.20.0040.00417.91
8.2.10.0050.00217.94
8.2.00.0000.00817.91
8.1.280.0120.00325.92
8.1.270.0000.00723.96
8.1.260.0000.00826.35
8.1.250.0000.00728.09
8.1.240.0060.00322.68
8.1.230.0100.00619.21
8.1.220.0000.00717.74
8.1.210.0090.00018.77
8.1.200.0090.00017.25
8.1.190.0030.00616.88
8.1.180.0030.00618.10
8.1.170.0060.00318.45
8.1.160.0000.00718.98
8.1.150.0040.00418.76
8.1.140.0080.00319.48
8.1.130.0030.00318.69
8.1.120.0070.00017.38
8.1.110.0040.00417.38
8.1.100.0040.00417.22
8.1.90.0050.00217.29
8.1.80.0030.00517.23
8.1.70.0000.00817.36
8.1.60.0040.00417.41
8.1.50.0000.00817.50
8.1.40.0050.00317.41
8.1.30.0000.00817.44
8.1.20.0030.00517.63
8.1.10.0040.00417.46
8.1.00.0040.00417.43
8.0.300.0000.00718.77
8.0.290.0040.00416.63
8.0.280.0070.00018.29
8.0.270.0040.00417.18
8.0.260.0000.00618.37
8.0.250.0080.00016.86
8.0.240.0100.00016.76
8.0.230.0070.00016.89
8.0.220.0030.00316.89
8.0.210.0030.00316.83
8.0.200.0000.00716.86
8.0.190.0040.00416.77
8.0.180.0000.00816.87
8.0.170.0000.00716.82
8.0.160.0000.00716.91
8.0.150.0070.00016.69
8.0.140.0000.00716.71
8.0.130.0030.00313.23
8.0.120.0040.00416.74
8.0.110.0000.00816.62
8.0.100.0080.00016.85
8.0.90.0000.00716.65
8.0.80.0100.01416.82
8.0.70.0040.00416.80
8.0.60.0000.00716.83
8.0.50.0000.00716.62
8.0.30.0110.00717.09
8.0.20.0110.00817.40
8.0.10.0080.00016.77
8.0.00.0150.00916.57
7.4.330.0000.00615.55
7.4.320.0030.00316.39
7.4.300.0030.00316.45
7.4.290.0070.00016.39
7.4.280.0040.00416.49
7.4.270.0000.00716.55
7.4.260.0060.00013.23
7.4.250.0000.00816.41
7.4.240.0000.00816.36
7.4.230.0030.00316.61
7.4.220.0040.01816.50
7.4.210.0070.00716.41
7.4.200.0070.00016.30
7.4.160.0090.00616.41
7.4.150.0110.00617.40
7.4.140.0080.01217.86
7.4.130.0090.01616.41
7.4.120.0120.01016.49
7.4.110.0130.01316.36
7.4.100.0040.01216.24
7.4.90.0170.00016.38
7.4.80.0100.00719.39
7.4.70.0090.00616.25
7.4.60.0130.00416.25
7.4.50.0060.01216.18
7.4.40.0000.01516.53
7.4.30.0220.00216.29
7.4.00.0070.00714.93
7.3.330.0000.00513.30
7.3.320.0000.00513.08
7.3.310.0030.00316.34
7.3.300.0030.00316.23
7.3.290.0080.00716.20
7.3.280.0080.00716.21
7.3.270.0100.00717.40
7.3.260.0100.00716.19
7.3.250.0130.00616.39
7.3.240.0090.01116.14
7.3.230.0110.00516.13
7.3.210.0100.00616.47
7.3.200.0100.00716.23
7.3.190.0090.00816.21
7.3.180.0100.00616.32
7.3.170.0060.01116.23
7.3.160.0100.00516.34
7.2.330.0070.01016.57
7.2.320.0120.00916.18
7.2.310.0090.00816.51
7.2.300.0100.01016.37
7.2.290.0120.00916.39
7.2.60.0040.01116.57
7.2.00.0040.00719.04
7.1.200.0030.01015.86
7.1.100.0000.01017.91
7.1.70.0030.00617.01
7.1.60.2100.01033.14
7.1.50.1200.01332.70
7.1.40.1000.01332.50
7.1.30.1370.01332.69
7.1.20.1070.01032.68
7.1.10.0900.00714.70
7.1.00.0830.00714.54
7.0.200.1430.00714.79
7.0.190.1270.00714.68
7.0.180.0930.00714.49
7.0.170.1530.00714.25
7.0.160.1470.01014.45
7.0.150.0800.01314.32
7.0.140.1070.00314.60
7.0.130.0970.01014.55
7.0.120.0800.01014.61
7.0.110.1100.00714.41
7.0.100.0700.00714.34
7.0.90.0730.00314.52
7.0.80.0670.01314.42
7.0.70.0670.01014.39
7.0.60.0630.01014.32
7.0.50.0770.01014.24
7.0.40.0630.01014.59
7.0.30.0700.00714.50
7.0.20.0700.00714.59
7.0.10.0730.00714.67
7.0.00.0630.01014.46

preferences:
55.94 ms | 401 KiB | 5 Q