3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo; class Foo {} class Bar extends Foo { function f(parent $x) {} } (new Bar)->f(new 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.3.120.0030.00618.96
8.3.110.0040.00418.27
8.3.100.0120.00316.74
8.3.90.0160.00318.23
8.3.80.0000.01019.36
8.3.70.0160.00016.63
8.3.60.0070.00718.22
8.3.50.0090.00924.56
8.3.40.0110.00418.71
8.3.30.0040.01118.36
8.3.20.0070.00024.18
8.3.10.0080.00024.66
8.3.00.0070.00026.16
8.2.240.0090.00019.19
8.2.230.0040.00420.94
8.2.220.0020.00524.06
8.2.210.0110.00426.77
8.2.200.0040.00816.38
8.2.190.0060.00916.58
8.2.180.0140.00325.92
8.2.170.0090.00618.83
8.2.160.0110.00722.96
8.2.150.0090.00025.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0070.00026.35
8.2.110.0070.00422.08
8.2.100.0080.00317.72
8.2.90.0040.00417.72
8.2.80.0060.00317.97
8.2.70.0050.00317.36
8.2.60.0000.00817.50
8.2.50.0050.00518.05
8.2.40.0000.00819.66
8.2.30.0040.00417.88
8.2.20.0070.00017.93
8.2.10.0000.00719.03
8.2.00.0000.00819.05
8.1.300.0070.01117.77
8.1.290.0040.00718.88
8.1.280.0110.00425.92
8.1.270.0040.00423.99
8.1.260.0050.00228.09
8.1.250.0050.00328.09
8.1.240.0170.00323.92
8.1.230.0080.00322.63
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0030.00617.39
8.1.190.0040.00417.11
8.1.180.0000.00918.10
8.1.170.0060.00317.62
8.1.160.0040.00418.82
8.1.150.0000.00718.77
8.1.140.0040.00418.80
8.1.130.0000.00820.08
8.1.120.0040.00417.40
8.1.110.0080.00017.21
8.1.100.0030.00317.25
8.1.90.0000.00717.35
8.1.80.0030.00717.31
8.1.70.0030.00517.34
8.1.60.0080.00017.54
8.1.50.0040.00417.42
8.1.40.0030.00617.50
8.1.30.0000.00817.62
8.1.20.0030.00617.44
8.1.10.0040.00417.41
8.1.00.0040.00417.25
8.0.300.0050.00221.93
8.0.290.0040.00416.63
8.0.280.0070.00018.39
8.0.270.0030.00317.93
8.0.260.0000.00618.50
8.0.250.0030.00416.95
8.0.240.0050.00216.95
8.0.230.0070.00016.83
8.0.220.0030.00316.70
8.0.210.0040.00416.84
8.0.200.0070.00016.83
8.0.190.0030.00316.88
8.0.180.0000.00816.76
8.0.170.0000.00816.87
8.0.160.0000.00816.73
8.0.150.0070.00016.66
8.0.140.0000.00716.74
8.0.130.0050.00013.23
8.0.120.0000.00716.78
8.0.110.0040.00416.70
8.0.100.0030.00516.85
8.0.90.0040.00416.68
8.0.80.0050.01216.80
8.0.70.0040.00416.82
8.0.60.0020.00516.83
8.0.50.0030.00416.73
8.0.30.0040.01316.98
8.0.20.0110.00716.87
8.0.10.0000.00716.92
8.0.00.0140.00916.89
7.4.330.0000.00415.55
7.4.320.0030.00316.40
7.4.300.0060.00016.55
7.4.290.0030.00316.54
7.4.280.0050.00316.55
7.4.270.0040.00416.55
7.4.260.0040.00413.18
7.4.250.0040.00416.41
7.4.240.0000.00716.53
7.4.230.0030.00316.20
7.4.220.0020.00516.37
7.4.210.0100.00716.45
7.4.200.0000.00716.43
7.4.130.0150.00316.49
7.4.120.0070.01016.61
7.4.110.0110.01216.50
7.4.100.0040.01316.59
7.4.90.0100.00616.42
7.4.80.0140.01016.06
7.4.70.0090.01216.27
7.4.60.0080.01416.07
7.4.50.0180.00416.05
7.4.40.0180.00416.11
7.4.30.0130.01016.23
7.4.20.0100.01016.26
7.4.10.0120.01116.31
7.4.00.0110.01216.38
7.3.330.0030.00316.23
7.3.320.0050.00013.10
7.3.310.0000.00716.14
7.3.300.0070.00016.25
7.3.290.0060.00916.19
7.3.260.0090.00916.43
7.3.230.0140.00516.45
7.3.210.0080.00816.20
7.3.200.0030.01816.05
7.3.190.0070.01016.23
7.3.180.0190.00315.99
7.3.170.0100.00916.16
7.3.160.0190.00716.08
7.3.150.0130.00916.50
7.3.140.0140.00815.96
7.3.130.0150.00716.14
7.3.120.0120.01016.45
7.3.110.0060.01616.44
7.3.100.0110.01216.16
7.3.90.0120.01216.12
7.3.80.0120.01016.25
7.3.70.0140.01116.32
7.3.60.0060.02116.16
7.3.50.0150.00916.03
7.3.40.0030.01516.20
7.3.30.0110.00715.98
7.3.20.0130.01016.12
7.3.10.0080.01616.13
7.3.00.0110.01116.20
7.2.330.0090.00916.42
7.2.320.0170.00616.12
7.2.310.0160.01016.36
7.2.300.0070.01416.09
7.2.290.0130.00916.29
7.2.280.0110.01116.38
7.2.270.0110.01416.20
7.2.260.0110.01316.43
7.2.250.0080.01516.53
7.2.240.0090.01616.35
7.2.230.0140.01116.59
7.2.220.0110.01116.43
7.2.210.0060.01816.29
7.2.200.0130.01216.54
7.2.190.0150.01216.33
7.2.180.0130.00916.32
7.2.170.0090.01316.48
7.2.160.0180.00716.43
7.2.150.0080.01916.41
7.2.140.0180.00616.41
7.2.130.0160.00816.49
7.2.120.0170.00316.46
7.2.110.0180.00316.38
7.2.100.0140.00916.47
7.2.90.0090.01316.27
7.2.80.0120.01316.29
7.2.70.0150.01016.50
7.2.60.0160.00616.48
7.2.50.0070.01316.41
7.2.40.0240.01416.50
7.2.30.0110.00816.54
7.2.20.0000.01916.33
7.2.10.0100.01316.51
7.2.00.0130.00716.24

preferences:
66.96 ms | 403 KiB | 5 Q