3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test{ public function firstFunction(){ } } $test = new test(); echo 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.4.20.0110.01119.45
8.4.10.0100.01019.43
8.3.140.0110.00416.81
8.3.130.0000.00818.42
8.3.120.0090.00020.75
8.3.110.0000.00920.94
8.3.100.0120.00424.06
8.3.90.0040.00418.52
8.3.80.0120.00018.30
8.3.70.0140.00418.34
8.3.60.0060.00916.50
8.3.50.0080.01017.42
8.3.40.0070.00718.78
8.3.30.0130.00318.50
8.3.20.0000.00820.07
8.3.10.0060.00323.39
8.3.00.0070.00023.57
8.2.260.0190.00016.55
8.2.250.0090.00018.58
8.2.240.0050.00519.01
8.2.230.0000.01022.58
8.2.220.0090.00037.54
8.2.210.0000.00826.77
8.2.200.0040.00417.00
8.2.190.0180.00316.63
8.2.180.0100.01318.66
8.2.170.0100.01019.09
8.2.160.0030.01022.96
8.2.150.0080.00025.66
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0000.00721.03
8.2.110.0030.00622.27
8.2.100.0040.00717.84
8.2.90.0080.00017.84
8.2.80.0030.00619.16
8.2.70.0050.00317.91
8.2.60.0040.00418.03
8.2.50.0030.00618.10
8.2.40.0030.00519.75
8.2.30.0000.00818.12
8.2.20.0040.00418.10
8.2.10.0080.00317.90
8.2.00.0040.00417.95
8.1.310.0110.00716.71
8.1.300.0040.00420.07
8.1.290.0060.00318.88
8.1.280.0090.00525.92
8.1.270.0040.00423.83
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0080.00023.92
8.1.230.0040.00820.88
8.1.220.0050.00317.74
8.1.210.0050.00318.77
8.1.200.0030.00617.35
8.1.190.0030.00617.23
8.1.180.0040.00418.10
8.1.170.0040.00420.19
8.1.160.0050.00218.92
8.1.150.0040.00420.63
8.1.140.0000.00817.82
8.1.130.0000.00718.99
8.1.120.0030.00317.36
8.1.110.0090.00017.38
8.1.100.0080.00017.45
8.1.90.0040.00417.34
8.1.80.0000.00717.50
8.1.70.0000.00717.34
8.1.60.0040.00417.57
8.1.50.0060.00317.52
8.1.40.0000.01017.49
8.1.30.0000.00817.71
8.1.20.0040.00817.66
8.1.10.0030.00617.53
8.1.00.0000.00817.42
8.0.300.0040.00420.13
8.0.290.0030.00616.75
8.0.280.0000.00718.27
8.0.270.0000.00717.14
8.0.260.0030.00317.27
8.0.250.0080.00016.89
8.0.240.0080.00016.97
8.0.230.0030.00316.99
8.0.220.0030.00616.84
8.0.210.0050.00216.74
8.0.200.0030.00316.86
8.0.190.0030.00616.95
8.0.180.0000.00716.80
8.0.170.0080.00017.02
8.0.160.0080.00016.94
8.0.150.0000.00716.72
8.0.140.0040.00416.94
8.0.130.0000.00613.41
8.0.120.0030.00616.92
8.0.110.0030.00316.83
8.0.100.0040.00417.00
8.0.90.0040.00416.80
8.0.80.0060.01016.88
8.0.70.0050.00216.73
8.0.60.0040.00416.89
8.0.50.0060.00316.72
8.0.30.0060.01217.24
8.0.20.0080.01117.40
8.0.10.0070.00016.90
8.0.00.0120.00916.72
7.4.330.0070.00316.40
7.4.320.0060.00016.50
7.4.300.0000.00616.56
7.4.290.0070.00016.50
7.4.280.0050.00216.48
7.4.270.0030.00316.50
7.4.260.0070.00016.55
7.4.250.0070.00016.54
7.4.240.0000.00716.48
7.4.230.0040.00416.68
7.4.220.0090.00916.52
7.4.210.0070.01016.39
7.4.200.0040.00416.51
7.4.160.0080.01216.52
7.4.150.0120.00917.40
7.4.140.0120.00717.86
7.4.130.0070.01016.60
7.4.120.0120.00616.57
7.4.110.0100.01316.67
7.4.100.0120.01216.65
7.4.90.0090.00616.51
7.4.80.0120.01219.39
7.4.70.0110.00716.39
7.4.60.0030.01316.37
7.4.50.0070.01116.40
7.4.40.0130.00916.70
7.4.30.0100.00616.29
7.4.00.0050.00814.98
7.3.330.0040.00413.29
7.3.320.0060.00013.16
7.3.310.0030.00316.38
7.3.300.0000.00716.17
7.3.290.0000.00716.27
7.3.280.0070.00916.28
7.3.270.0090.00917.40
7.3.260.0110.01016.34
7.3.250.0150.00416.37
7.3.240.0060.01216.29
7.3.230.0110.00716.21
7.3.210.0100.00616.31
7.3.200.0100.00716.34
7.3.190.0040.01216.42
7.3.180.0130.00616.40
7.3.170.0060.01216.41
7.3.160.0090.00616.29
7.3.120.0080.00714.86
7.3.110.0100.00814.96
7.3.100.0080.00714.75
7.3.90.0040.00814.68
7.3.80.0070.00814.89
7.3.70.0050.01014.53
7.3.60.0090.00614.65
7.3.50.0050.01014.70
7.3.40.0050.01014.63
7.3.30.0080.00814.61
7.3.20.0110.00616.63
7.3.10.0060.01016.66
7.3.00.0070.00816.59
7.2.330.0100.00716.79
7.2.320.0120.00416.57
7.2.310.0090.01516.68
7.2.300.0110.01116.43
7.2.290.0030.01416.50
7.2.250.0090.00814.98
7.2.240.0090.00915.05
7.2.230.0080.00515.00
7.2.220.0060.00814.92
7.2.210.0050.00914.83
7.2.200.0100.00814.89
7.2.190.0090.00614.94
7.2.180.0070.01014.93
7.2.170.0060.00814.93
7.2.160.0050.00814.94
7.2.150.0060.00816.77
7.2.140.0100.00816.79
7.2.130.0090.00916.93
7.2.120.0040.01116.80
7.2.110.0060.01016.79
7.2.100.0070.00916.95
7.2.90.0220.00716.15
7.2.80.0320.01016.00
7.2.70.0180.00915.93
7.2.60.0220.00616.08
7.2.50.0340.00816.11
7.2.40.0170.01116.04
7.2.30.0200.00716.06
7.2.20.0370.00715.99
7.2.10.0320.00916.03
7.2.00.0170.00916.08
7.1.330.0050.01115.70
7.1.320.0080.00615.64
7.1.310.0070.00715.73
7.1.300.0060.00815.69
7.1.290.0070.00615.64
7.1.280.0060.00915.63
7.1.270.0060.00815.77
7.1.260.0070.00815.58
7.1.250.0060.00815.69
7.1.240.0060.01115.56
7.1.230.0130.00615.61
7.1.220.0120.00615.59
7.1.210.0260.01014.96
7.1.200.0180.00615.16
7.1.190.0380.00614.89
7.1.180.0240.00914.82
7.1.170.0180.01014.73
7.1.160.0360.01114.74
7.1.150.0300.00614.79
7.1.140.0390.01114.84
7.1.130.0230.00814.83
7.1.120.0270.00714.69
7.1.110.0240.00714.77
7.1.100.0270.00614.82
7.1.90.0370.00714.86
7.1.80.0230.00914.87
7.1.70.0320.00714.88
7.1.60.0260.01122.49
7.1.50.0300.01122.52
7.1.40.0290.00822.59
7.1.30.0270.00822.51
7.1.20.0270.01022.54
7.1.10.0280.00814.80
7.1.00.0250.00814.74
7.0.330.0120.00815.25
7.0.320.0120.00615.20
7.0.310.0240.00614.37
7.0.300.0240.00714.30
7.0.290.0420.00814.36
7.0.280.0570.00814.51
7.0.270.0340.00914.35
7.0.260.0290.00914.33
7.0.250.0250.01114.47
7.0.240.0290.00914.47
7.0.230.0450.00514.34
7.0.220.0460.00814.41
7.0.210.0220.00914.25
7.0.200.0330.00614.29
7.0.190.0260.00814.34
7.0.180.0280.00614.38
7.0.170.0270.00714.38
7.0.160.0310.00814.41
7.0.150.0350.00814.41
7.0.140.0300.00414.28
7.0.130.0270.00914.35
7.0.120.0220.00814.38
7.0.110.0250.00814.37
7.0.100.0360.00514.24
7.0.90.0200.01114.27
7.0.80.0240.00814.37
7.0.70.0390.00814.30
7.0.60.0330.00814.24
7.0.50.0350.00714.38
7.0.40.0310.00814.38
7.0.30.0350.00814.44
7.0.20.0390.00714.47
7.0.10.0330.00614.48
7.0.00.0330.00614.45
5.6.400.0130.00814.28
5.6.390.0120.00814.24
5.6.380.0120.00814.32
5.4.160.0090.00516.30

preferences:
77.01 ms | 403 KiB | 5 Q