3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class PhpSucks { abstract public function disagree(); } class PhpRocks extends PhpSucks { public function disagree() { return __CLASS__; } } $yes = new PhpRocks(); echo $yes->disagree();

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.00918.05
8.3.50.0070.00716.21
8.3.40.0070.01118.84
8.3.30.0070.00718.45
8.3.20.0040.00420.34
8.3.10.0000.00821.88
8.3.00.0000.00722.11
8.2.180.0040.01116.63
8.2.170.0140.00322.96
8.2.160.0140.00018.96
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0000.00820.45
8.2.110.0060.00322.17
8.2.100.0090.00317.78
8.2.90.0050.00317.78
8.2.80.0040.00418.84
8.2.70.0050.00317.63
8.2.60.0030.00517.50
8.2.50.0050.00218.03
8.2.40.0050.00319.23
8.2.30.0000.00820.91
8.2.20.0080.00018.05
8.2.10.0040.00417.94
8.2.00.0040.00417.92
8.1.280.0100.01025.92
8.1.270.0000.00822.04
8.1.260.0040.00426.35
8.1.250.0160.00328.09
8.1.240.0000.00822.03
8.1.230.0030.00922.72
8.1.220.0050.00317.74
8.1.210.0060.00318.77
8.1.200.0040.00417.25
8.1.190.0030.00617.23
8.1.180.0060.00318.10
8.1.170.0070.00017.62
8.1.160.0000.00718.91
8.1.150.0000.00820.61
8.1.140.0050.00319.47
8.1.130.0050.00218.79
8.1.120.0050.00317.28
8.1.110.0040.00417.36
8.1.100.0000.00817.35
8.1.90.0040.00417.41
8.1.80.0000.00717.29
8.1.70.0030.00317.31
8.1.60.0040.00417.59
8.1.50.0080.00017.51
8.1.40.0040.00417.45
8.1.30.0030.00517.62
8.1.20.0050.00317.53
8.1.10.0060.00317.48
8.1.00.0080.00017.33
8.0.300.0000.00819.84
8.0.290.0040.00416.75
8.0.280.0000.00718.47
8.0.270.0030.00517.23
8.0.260.0030.00320.07
8.0.250.0040.00416.84
8.0.240.0000.00816.97
8.0.230.0000.00716.88
8.0.220.0000.00816.84
8.0.210.0040.00416.72
8.0.200.0030.00316.90
8.0.190.0040.00416.89
8.0.180.0050.00216.84
8.0.170.0070.00016.84
8.0.160.0000.00716.75
8.0.150.0000.00716.73
8.0.140.0000.00716.80
8.0.130.0030.00313.27
8.0.120.0020.00516.81
8.0.110.0040.00416.73
8.0.100.0050.00316.63
8.0.90.0000.00816.86
8.0.80.0000.01516.72
8.0.70.0020.00516.68
8.0.60.0040.00416.86
8.0.50.0040.00416.73
8.0.30.0110.00917.04
8.0.20.0120.00917.40
8.0.10.0080.00016.90
8.0.00.0000.01816.93
7.4.330.0000.00515.55
7.4.320.0000.00616.36
7.4.300.0070.00016.43
7.4.290.0030.00616.53
7.4.280.0080.00016.48
7.4.270.0000.00716.51
7.4.260.0030.00313.32
7.4.250.0030.00316.45
7.4.240.0000.00816.52
7.4.230.0000.00716.40
7.4.220.0140.01116.58
7.4.210.0080.00816.48
7.4.200.0000.00716.33
7.4.160.0120.00816.53
7.4.150.0110.00617.40
7.4.140.0170.00317.86
7.4.130.0090.00916.48
7.4.120.0110.00816.46
7.4.110.0110.00816.61
7.4.100.0060.01216.39
7.4.90.0030.01516.54
7.4.80.0040.01319.39
7.4.70.0090.00616.65
7.4.60.0040.01316.61
7.4.50.0070.00716.48
7.4.40.0100.00616.68
7.4.30.0050.01116.50
7.4.00.0100.00815.02
7.3.330.0000.00713.09
7.3.320.0000.00513.00
7.3.310.0040.00416.13
7.3.300.0030.00316.18
7.3.290.0080.00816.23
7.3.280.0070.00916.20
7.3.270.0030.01317.40
7.3.260.0110.00816.48
7.3.250.0080.00916.32
7.3.240.0070.01016.34
7.3.230.0060.01216.45
7.3.210.0160.00016.11
7.3.200.0070.01016.17
7.3.190.0100.00716.31
7.3.180.0080.00816.25
7.3.170.0060.01116.28
7.3.160.0060.00916.54
7.3.120.0080.01114.55
7.3.110.0020.01514.70
7.3.100.0110.00614.52
7.3.90.0050.01014.59
7.3.80.0060.00814.63
7.3.70.0060.00814.75
7.3.60.0090.00414.68
7.3.50.0030.01314.77
7.3.40.0090.00814.64
7.3.30.0060.00814.41
7.3.20.0070.00716.46
7.3.10.0090.00416.41
7.3.00.0030.01016.49
7.2.330.0160.00916.41
7.2.320.0120.00616.57
7.2.310.0140.00316.54
7.2.300.0000.01616.58
7.2.290.0080.01016.42
7.2.250.0030.01315.00
7.2.240.0070.01314.93
7.2.230.0100.00715.06
7.2.220.0060.00515.07
7.2.210.0030.01014.85
7.2.200.0090.00915.11
7.2.190.0090.00515.03
7.2.180.0050.01114.74
7.2.170.0060.00514.92
7.2.130.0030.00916.96
7.2.120.0000.01416.32
7.2.110.0060.00316.79
7.2.100.0060.00616.86
7.2.90.0000.01416.29
7.2.80.0070.00716.90
7.2.70.0090.00316.54
7.2.60.0020.01316.52
7.2.50.0100.00716.13
7.2.40.0080.00316.53
7.2.30.0040.01116.62
7.2.20.0120.00316.75
7.2.10.0090.00016.65
7.2.00.0080.00816.84
7.1.330.0040.01215.53
7.1.320.0090.00515.60
7.1.310.0080.00915.65
7.1.300.0060.00415.74
7.1.290.0070.00415.51
7.1.280.0050.00815.71
7.1.270.0070.00515.61
7.1.260.0050.00915.64
7.1.250.0000.00715.65
7.1.200.0000.00815.41
7.1.70.0090.00617.18
7.1.60.0170.01035.14
7.1.50.0300.00934.73
7.1.40.0230.01034.19
7.1.30.0190.01034.48
7.1.20.0160.01334.40
7.1.10.0060.00916.58
7.1.00.0100.01016.49
7.0.200.0000.01516.73
7.0.190.0080.00916.86
7.0.180.0150.00616.30
7.0.170.0150.00016.30
7.0.160.0120.00416.14
7.0.150.0060.01316.04
7.0.140.0060.01616.27
7.0.130.0060.00916.53
7.0.120.0070.00716.35
7.0.110.0050.01016.43
7.0.100.0060.00616.24
7.0.90.0030.01516.15
7.0.80.0030.01616.08
7.0.70.0060.01316.32
7.0.60.0050.01516.21
7.0.50.0060.01216.19
7.0.40.0060.01316.37
7.0.30.0050.01016.63
7.0.20.0060.01616.38
7.0.10.0070.01116.11
7.0.00.0110.00816.31

preferences:
48.04 ms | 400 KiB | 5 Q