3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Vendor { public function make(); } class Samsung implements Vendor{ public function make() { return "This is Samsung product"; } } $vendor = new Samsung(); echo $vendor->make();

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.70.0070.00718.16
8.3.60.0140.00716.50
8.3.50.0120.00521.97
8.3.40.0110.00718.66
8.3.30.0110.00418.54
8.3.20.0000.00820.25
8.3.10.0040.00423.57
8.3.00.0000.00820.82
8.2.190.0070.01416.63
8.2.180.0170.00318.42
8.2.170.0030.01222.96
8.2.160.0130.00020.35
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00419.83
8.2.110.0050.00522.07
8.2.100.0040.01017.93
8.2.90.0000.00719.23
8.2.80.0000.00817.97
8.2.70.0030.00617.46
8.2.60.0080.00017.78
8.2.50.0080.00018.07
8.2.40.0060.00322.18
8.2.30.0000.00720.69
8.2.20.0060.00317.71
8.2.10.0030.00517.95
8.2.00.0070.00017.95
8.1.280.0120.00325.92
8.1.270.0070.00320.38
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0000.00923.98
8.1.230.0040.00717.76
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00317.36
8.1.190.0000.00817.23
8.1.180.0060.00618.10
8.1.170.0040.00418.51
8.1.160.0000.00720.67
8.1.150.0050.00318.93
8.1.140.0040.00419.57
8.1.130.0040.00417.81
8.1.120.0060.00317.36
8.1.110.0030.00617.48
8.1.100.0050.00217.44
8.1.90.0000.00817.41
8.1.80.0050.00317.49
8.1.70.0070.00017.46
8.1.60.0070.00017.53
8.1.50.0040.00417.55
8.1.40.0050.00317.41
8.1.30.0000.00917.58
8.1.20.0040.00417.64
8.1.10.0040.00417.47
8.1.00.0000.00817.50
8.0.300.0000.00718.77
8.0.290.0040.00416.58
8.0.280.0030.00318.36
8.0.270.0000.00717.23
8.0.260.0030.00317.24
8.0.250.0030.00317.00
8.0.240.0030.00316.95
8.0.230.0070.00016.88
8.0.220.0070.00016.89
8.0.210.0070.00016.75
8.0.200.0000.00616.85
8.0.190.0060.00316.96
8.0.180.0000.00716.89
8.0.170.0090.00016.92
8.0.160.0000.00716.79
8.0.150.0090.00016.90
8.0.140.0090.00016.85
8.0.130.0040.00313.33
8.0.120.0000.00916.86
8.0.110.0070.00016.79
8.0.100.0000.00816.91
8.0.90.0030.00516.94
8.0.80.0070.01016.94
8.0.70.0040.00416.84
8.0.60.0050.00316.75
8.0.50.0000.00716.87
8.0.30.0110.00817.06
8.0.20.0100.00917.40
8.0.10.0050.00316.89
8.0.00.0100.00916.78
7.4.330.0050.00016.85
7.4.320.0000.00716.45
7.4.300.0020.00516.49
7.4.290.0030.00316.43
7.4.280.0000.00816.45
7.4.270.0070.00016.57
7.4.260.0000.00716.55
7.4.250.0000.00716.57
7.4.240.0020.00516.44
7.4.230.0000.00716.40
7.4.220.0150.00316.49
7.4.210.0070.01016.56
7.4.200.0030.00316.59
7.4.160.0160.00016.66
7.4.150.0130.00417.40
7.4.140.0120.00917.86
7.4.130.0110.00516.50
7.4.120.0040.01216.39
7.4.110.0160.00416.66
7.4.100.0160.00616.40
7.4.90.0130.00316.63
7.4.80.0030.01719.39
7.4.70.0110.00616.51
7.4.60.0090.00616.46
7.4.50.0110.00716.57
7.4.40.0000.01516.59
7.4.30.0120.01016.45
7.4.00.0130.00315.04
7.3.330.0000.00513.26
7.3.320.0000.00713.05
7.3.310.0040.00416.20
7.3.300.0000.00916.23
7.3.290.0030.00316.28
7.3.280.0100.00716.22
7.3.270.0100.00617.40
7.3.260.0100.00716.18
7.3.250.0130.01016.29
7.3.240.0130.00516.37
7.3.230.0090.01016.39
7.3.210.0150.00416.29
7.3.200.0120.00816.49
7.3.190.0130.00416.25
7.3.180.0110.01116.23
7.3.170.0090.00816.34
7.3.160.0140.00316.37
7.2.330.0110.00616.78
7.2.320.0170.00016.36
7.2.310.0100.00716.72
7.2.300.0030.01716.61
7.2.290.0070.01016.33
7.2.00.0000.01219.05
7.1.200.0000.00915.70
7.1.100.0060.00618.09
7.1.70.0000.00717.15
7.1.60.0180.00719.52
7.1.50.0040.00716.87
7.1.00.0030.07722.45
7.0.200.0000.00916.49
7.0.60.0000.04319.95
7.0.50.0000.06017.91
7.0.40.0000.09020.13
7.0.30.0470.07020.33
7.0.20.0300.08020.07
7.0.10.0170.08720.19
7.0.00.0070.09020.33
5.6.280.0070.04321.14
5.6.210.0100.07720.73
5.6.200.0130.08018.29
5.6.190.0200.07020.61
5.6.180.0270.07320.55
5.6.170.0400.05020.55
5.6.160.0100.08720.71
5.6.150.0070.03718.15
5.6.140.0100.03018.18
5.6.130.0000.04318.29
5.6.120.0130.08021.15
5.6.110.0070.03720.98
5.6.100.0070.05721.01
5.6.90.0100.07720.96
5.6.80.0100.07720.38
5.5.350.4270.04320.33
5.5.340.0030.04017.99
5.5.330.0030.04320.41
5.5.320.0500.04320.35
5.5.310.0130.04720.34
5.5.300.0070.04717.98
5.5.290.0130.07317.95
5.5.280.0200.07020.77
5.5.270.0170.07020.82
5.5.260.0070.08320.89
5.5.250.0070.06020.79
5.5.240.2970.04020.20

preferences:
17.23 ms | 401 KiB | 5 Q