3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait T { abstract function foo($bar); } abstract class A { use T; } class R extends A { function foo($bar, $baz) {} }

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.140.0040.00417.11
8.3.130.0030.00618.36
8.3.120.0040.00418.78
8.3.110.0060.00320.94
8.3.100.0060.00324.06
8.3.90.0120.00326.77
8.3.80.0060.00317.97
8.3.70.0090.01216.73
8.3.60.0040.01118.55
8.3.50.0030.01217.94
8.3.40.0110.00418.67
8.3.30.0110.00318.33
8.3.20.0040.00419.06
8.3.10.0040.00421.76
8.3.00.0050.00323.52
8.2.250.0090.00018.62
8.2.240.0110.00718.82
8.2.230.0140.00722.58
8.2.220.0000.00937.54
8.2.210.0030.00626.77
8.2.200.0130.00318.17
8.2.190.0090.00616.58
8.2.180.0140.00718.41
8.2.170.0030.01022.96
8.2.160.0100.00318.91
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0070.00026.16
8.2.120.0030.00620.70
8.2.110.0060.00321.04
8.2.100.0090.00317.79
8.2.90.0000.00819.04
8.2.80.0000.00817.97
8.2.70.0030.00617.63
8.2.60.0040.00417.80
8.2.50.0030.00518.07
8.2.40.0050.00322.28
8.2.30.0000.00717.87
8.2.20.0040.00417.98
8.2.10.0040.00418.02
8.2.00.0030.00319.26
8.1.300.0040.00419.55
8.1.290.0000.00930.84
8.1.280.0100.00725.92
8.1.270.0040.00423.99
8.1.260.0030.00526.35
8.1.250.0070.00028.09
8.1.240.0040.00417.65
8.1.230.0070.00319.16
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0030.00617.22
8.1.190.0050.00317.10
8.1.180.0000.00818.10
8.1.170.0070.00018.53
8.1.160.0020.00518.83
8.1.150.0000.00718.88
8.1.140.0070.00018.80
8.1.130.0040.00418.89
8.1.120.0030.00517.39
8.1.110.0040.00417.24
8.1.100.0030.00317.45
8.1.90.0080.00017.35
8.1.80.0030.00517.30
8.1.70.0000.00717.44
8.1.60.0000.00817.37
8.1.50.0000.00817.48
8.1.40.0040.00417.50
8.1.30.0080.00017.47
8.1.20.0000.00817.41
8.1.10.0060.00317.41
8.1.00.0000.00817.20
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0000.00718.41
8.0.270.0030.00316.75
8.0.260.0000.00617.06
8.0.250.0070.00017.01
8.0.240.0040.00416.93
8.0.230.0030.00516.94
8.0.220.0070.00016.93
8.0.210.0000.00716.77
8.0.200.0080.00016.79
8.0.190.0000.00716.98
8.0.180.0040.00416.98
8.0.170.0000.00916.92
8.0.160.0040.00416.91
8.0.150.0040.00416.89
8.0.140.0040.00416.71
8.0.130.0030.00313.27
8.0.120.0040.00416.82
8.0.110.0040.00416.84
8.0.100.0000.00716.90
8.0.90.0040.00416.88
8.0.80.0040.01216.86
8.0.70.0030.00516.70
8.0.60.0000.00816.91
8.0.50.0000.00916.77
8.0.30.0150.00516.95
8.0.20.0150.00517.40
8.0.10.0070.00016.82
8.0.00.0180.00516.64
7.4.330.0000.00515.55
7.4.320.0030.00316.35
7.4.300.0070.00016.56
7.4.290.0050.00216.33
7.4.280.0040.00416.50
7.4.270.0070.00016.42
7.4.260.0070.00316.44
7.4.250.0040.00416.51
7.4.240.0040.00416.34
7.4.230.0000.00816.48
7.4.220.0000.00816.27
7.4.210.0100.00816.41
7.4.200.0050.00316.55
7.4.160.0090.00916.43
7.4.140.0140.00417.86
7.4.130.0110.00716.51
7.4.120.0100.00816.47
7.4.110.0060.00916.26
7.4.100.0150.00616.23
7.4.90.0070.01016.49
7.4.80.0180.00319.39
7.4.70.0090.00616.50
7.4.60.0060.00916.53
7.4.50.0030.01416.43
7.4.40.0060.01216.36
7.4.00.0030.01214.84
7.3.330.0000.00613.29
7.3.320.0070.00013.32
7.3.310.0070.00016.15
7.3.300.0030.00316.18
7.3.290.0030.00316.30
7.3.280.0080.00916.30
7.3.260.0080.01016.38
7.3.240.0120.00616.40
7.3.230.0070.01016.45
7.3.210.0070.01116.61
7.3.200.0130.00516.44
7.3.190.0130.00316.34
7.3.180.0090.01416.43
7.3.170.0060.01016.57
7.3.160.0110.00516.54
7.2.330.0080.01616.59
7.2.320.0140.00316.24
7.2.310.0100.01016.54
7.2.300.0180.00316.41
7.2.290.0060.01716.49
7.2.80.1350.00714.52
7.2.70.1000.01014.81
7.2.60.1070.01014.58
7.2.50.1060.01014.86
7.2.40.1050.00714.63
7.2.30.1100.01014.82
7.2.20.1160.00614.71
7.2.10.1260.00314.95
7.2.00.1460.00314.68
7.1.200.0100.00315.72
7.1.190.1050.00313.59
7.1.180.1170.00013.48
7.1.170.1060.00313.67
7.1.160.1160.00313.39
7.1.150.1100.01013.73
7.1.140.1260.00313.86
7.1.130.1200.01013.55
7.1.120.1070.00613.59
7.1.110.1300.01013.17
7.1.100.1310.00313.68
7.1.90.1530.01313.63
7.1.80.1480.01013.47
7.1.70.1450.00713.61
7.1.60.1670.00331.58
7.1.50.2250.01031.36
7.1.40.2680.01031.67
7.1.30.2130.01331.45
7.1.20.2650.01031.29
7.1.10.2010.00713.54
7.1.00.1500.00313.60

preferences:
35.74 ms | 403 KiB | 5 Q