3v4l.org

run code in 500+ PHP versions simultaneously
<?php interface A { public function foo(); } enum Base implements A { case One; case Two; public function 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.5.90.0110.00716.64
8.5.80.0030.00418.31
8.5.70.0090.00416.59
8.5.60.0100.00616.72
8.5.50.0090.00918.16
8.5.30.0100.00819.18
8.5.20.0060.01120.24
8.5.10.0100.00920.38
8.5.00.0140.00819.79
8.4.240.0060.00519.41
8.4.230.0070.00619.36
8.4.220.0050.00421.28
8.4.210.0160.00421.23
8.4.180.0140.00819.66
8.4.170.0120.00823.92
8.4.160.0090.01323.75
8.4.150.0080.00416.87
8.4.140.0160.00817.54
8.4.130.0130.00817.70
8.4.120.0050.00420.71
8.4.110.0140.00522.36
8.4.100.0110.00817.60
8.4.90.0130.00718.52
8.4.80.0060.00417.64
8.4.70.0040.00517.83
8.4.60.0120.00918.45
8.4.50.0130.00817.39
8.4.40.0090.00017.62
8.4.30.0070.01420.45
8.4.20.0120.00926.05
8.4.10.0030.00623.93
8.3.330.0150.00720.29
8.3.320.0130.00618.20
8.3.310.0090.00318.01
8.3.300.0120.01020.57
8.3.290.0110.00920.57
8.3.280.0140.00618.20
8.3.270.0110.00816.38
8.3.260.0120.00816.16
8.3.250.0040.00418.91
8.3.240.0040.00416.40
8.3.230.0100.00916.41
8.3.220.0050.00317.05
8.3.210.0100.00616.42
8.3.200.0040.00516.57
8.3.190.0060.00217.00
8.3.180.0110.00918.34
8.3.170.0100.00718.77
8.3.160.0090.00918.60
8.3.150.0060.01218.83
8.3.140.0080.00016.41
8.3.130.0100.00616.84
8.3.120.0150.00420.56
8.3.110.0000.00822.58
8.3.100.0030.00622.58
8.3.50.0040.00422.58
8.2.320.0140.00617.93
8.2.310.0120.00918.10
8.2.300.0110.01217.90
8.2.290.0140.00520.21
8.2.280.0110.00618.12
8.2.270.0090.00616.94
8.2.260.0060.01218.66
8.2.250.0130.00316.36
8.2.240.0000.01518.80
8.2.230.0040.00422.58
8.2.220.0110.00422.58
8.2.60.0090.00418.10
8.2.40.0040.00817.62
8.2.30.0110.00019.25
8.2.20.0050.00517.62
8.2.10.0030.00619.23
8.2.00.0080.00317.62
8.1.340.0080.01417.24
8.1.330.0080.01020.18
8.1.320.0120.00816.04
8.1.310.0040.00418.17
8.1.300.0030.00618.47
8.1.190.0080.00417.81
8.1.170.0080.00418.88
8.1.160.0030.00617.62
8.1.150.0060.00617.62
8.1.140.0100.00017.62
8.1.130.0100.00317.62
8.1.120.0070.00417.62
8.1.110.0040.00817.62
8.1.100.0000.01217.62
8.1.90.0040.00717.62
8.1.80.0050.00717.62
8.1.70.0090.00217.62
8.1.60.0070.00417.62
8.1.50.0030.00817.62
8.1.40.0070.00217.62
8.1.30.0130.00017.62
8.1.20.0040.00717.62
8.1.10.0080.00417.62
8.1.00.0000.01118.88
8.0.280.0050.00517.62
8.0.270.0030.00717.62
8.0.260.0030.00617.62
8.0.250.0030.00618.61
8.0.240.0070.00317.62
8.0.230.0080.00317.62
8.0.220.0080.00317.62
8.0.210.0090.00017.62
8.0.200.0110.00017.62
8.0.190.0020.00717.62
8.0.180.0030.00618.74
8.0.170.0050.00517.62
8.0.160.0030.00618.52
8.0.150.0060.00617.62
8.0.140.0050.00517.62
8.0.130.0060.00617.62
8.0.120.0120.00317.62
8.0.110.0110.00317.62
8.0.100.0130.00017.62
8.0.90.0110.00317.62
8.0.80.0150.00017.62
8.0.70.0100.00417.62
8.0.60.0080.00517.62
8.0.50.0120.00217.62
8.0.30.0110.00417.62
8.0.20.0130.00017.62
8.0.10.0120.00317.62

preferences:
71.76 ms | 986 KiB | 5 Q