3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test{ public function firstFunction(){ } } $test = new test(); count($test);

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.0140.00416.47
8.3.50.0110.00416.26
8.3.40.0070.00718.89
8.3.30.0180.00018.44
8.3.20.0070.00020.35
8.3.10.0000.00723.65
8.3.00.0000.00823.48
8.2.180.0150.00616.63
8.2.170.0140.00022.96
8.2.160.0130.00320.39
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0000.00819.63
8.2.110.0030.00620.47
8.2.100.0070.00417.84
8.2.90.0060.00322.37
8.2.80.0090.00017.97
8.2.70.0040.00417.80
8.2.60.0000.00718.03
8.2.50.0040.00418.22
8.2.40.0040.00420.42
8.2.30.0080.00319.23
8.2.20.0000.00717.95
8.2.10.0030.00717.95
8.2.00.0060.00318.07
8.1.280.0040.01125.92
8.1.270.0070.00023.96
8.1.260.0070.00026.35
8.1.250.0000.00828.09
8.1.240.0030.00622.20
8.1.230.0060.00623.86
8.1.220.0040.00417.74
8.1.210.0060.00618.88
8.1.200.0000.00817.36
8.1.190.0030.00617.23
8.1.180.0030.00618.10
8.1.170.0040.00418.49
8.1.160.0000.00718.88
8.1.150.0040.00420.61
8.1.140.0000.00717.65
8.1.130.0000.00718.82
8.1.120.0040.00417.46
8.1.110.0040.00417.38
8.1.100.0040.00417.40
8.1.90.0000.00817.46
8.1.80.0000.00717.52
8.1.70.0000.00717.43
8.1.60.0030.00517.62
8.1.50.0040.00417.51
8.1.40.0000.01017.36
8.1.30.0040.00417.62
8.1.20.0050.00517.49
8.1.10.0050.00317.51
8.1.00.0080.00017.51
8.0.300.0040.00419.90
8.0.290.0040.00416.75
8.0.280.0000.00718.30
8.0.270.0000.00717.09
8.0.260.0040.00416.72
8.0.250.0000.00716.94
8.0.240.0070.00016.93
8.0.230.0070.00016.96
8.0.220.0000.00716.75
8.0.210.0000.00716.77
8.0.200.0030.00316.88
8.0.190.0070.00316.95
8.0.180.0040.00416.91
8.0.170.0080.00016.99
8.0.160.0040.00416.79
8.0.150.0000.00816.98
8.0.140.0000.00716.80
8.0.130.0050.00013.31
8.0.120.0030.00616.83
8.0.110.0000.00716.86
8.0.100.0050.00316.74
8.0.90.0050.00316.77
8.0.80.0080.00616.92
8.0.70.0070.00016.81
8.0.60.0040.00416.95
8.0.50.0030.00516.93
8.0.30.0070.01216.86
8.0.20.0110.01017.40
8.0.10.0040.00417.10
8.0.00.0150.00316.82
7.4.330.0030.00316.78
7.4.320.0030.00316.45
7.4.300.0030.00316.38
7.4.290.0000.00716.41
7.4.280.0040.00416.53
7.4.270.0030.00316.48
7.4.260.0030.00316.34
7.4.250.0090.00016.47
7.4.240.0000.00716.37
7.4.230.0000.00716.52
7.4.220.0090.00916.52
7.4.210.0000.01316.68
7.4.200.0000.00716.49
7.4.160.0090.00916.41
7.4.150.0140.01017.40
7.4.140.0120.00917.86
7.4.130.0100.00716.55
7.4.120.0110.00716.55
7.4.110.0030.01316.66
7.4.100.0130.00616.48
7.4.90.0100.00616.55
7.4.80.0120.01219.39
7.4.70.0040.01416.52
7.4.60.0040.01116.49
7.4.50.0030.01316.45
7.4.40.0080.00816.33
7.4.30.0060.01016.49
7.4.00.0040.00815.16
7.3.330.0000.00713.07
7.3.320.0000.00613.11
7.3.310.0070.00016.09
7.3.300.0060.00016.38
7.3.290.0050.01116.29
7.3.280.0100.00816.29
7.3.270.0100.00617.40
7.3.260.0070.01016.45
7.3.250.0060.01316.35
7.3.240.0110.00916.36
7.3.230.0060.01316.58
7.3.210.0110.00616.36
7.3.200.0000.01616.21
7.3.190.0040.01216.13
7.3.180.0070.01116.27
7.3.170.0090.00616.41
7.3.160.0140.00716.29
7.2.330.0070.01016.56
7.2.320.0060.00916.54
7.2.310.0030.01316.58
7.2.300.0030.02016.38
7.2.290.0090.00816.39
7.2.60.0090.00616.59
7.1.200.0040.00815.82
7.1.110.0060.01018.37
7.1.100.0090.00917.75
7.1.90.0040.01118.07
7.1.80.0110.01118.16
7.1.70.0030.01516.81
7.1.60.0170.01334.73
7.1.50.0160.02234.45
7.1.40.0250.01334.31
7.1.30.0190.01934.30
7.1.20.0260.01134.41
7.1.10.0000.01916.58
7.1.00.0100.01016.53
7.0.250.0030.01317.50
7.0.240.0030.01217.67
7.0.230.0100.01217.61
7.0.220.0070.01417.73
7.0.210.0100.00716.45
7.0.200.0070.00916.82
7.0.190.0030.01516.76
7.0.180.0030.01616.11
7.0.170.0070.01316.24
7.0.160.0110.00716.09
7.0.150.0110.00316.33
7.0.140.0140.00416.13
7.0.130.0070.01216.45
7.0.120.0040.01416.58
7.0.110.0040.01416.27
7.0.100.0040.01416.43
7.0.90.0040.01516.37
7.0.80.0100.00916.28
7.0.70.0030.01316.28
7.0.60.0030.01615.83
7.0.50.0080.01116.30
7.0.40.0070.01116.55
7.0.30.0060.01216.55
7.0.20.0050.01416.48
7.0.10.0080.00816.32
7.0.00.0270.00414.45

preferences:
77.09 ms | 400 KiB | 5 Q